aboutsummaryrefslogtreecommitdiff
path: root/audio/dsoundaudio.c
diff options
context:
space:
mode:
authorConsul <void@aleksoft.net>2009-08-25 14:48:50 -0700
committermalc <av1474@comtv.ru>2009-08-26 13:55:44 +0400
commit15c875a3cdfd968427a6631fb685c867a4230f82 (patch)
tree0e2bb6465b4e75d87a5698e9d491997c197295cb /audio/dsoundaudio.c
parent4e02cd33ea78ba7052201f75da0de43d7f995632 (diff)
Fix dsound typos
Dsound currently does not compile due to the typos in the code. This patch makes it compile again.{PATCH} Signed-off-by: Alex Ivanov <void@aleksoft.net> Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'audio/dsoundaudio.c')
-rw-r--r--audio/dsoundaudio.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/dsoundaudio.c b/audio/dsoundaudio.c
index 5376b596e4..f89f39aa08 100644
--- a/audio/dsoundaudio.c
+++ b/audio/dsoundaudio.c
@@ -57,7 +57,7 @@ static struct {
.bufsize_out = 16384,
.settings.freq = 44100,
.settings.nchannels = 2,
- .settings.fmt = AUD_FMT_S16
+ .settings.fmt = AUD_FMT_S16,
.latency_millis = 10
};
@@ -1054,7 +1054,7 @@ static struct audio_option dsound_options[] = {
{
.name = "SET_PRIMARY",
.tag = AUD_OPT_BOOL,
- .valp = &conf.set_primary
+ .valp = &conf.set_primary,
.descr = "Set the parameters of primary buffer"
},
{
@@ -1121,5 +1121,5 @@ struct audio_driver dsound_audio_driver = {
.max_voices_out = INT_MAX,
.max_voices_in = 1,
.voice_size_out = sizeof (DSoundVoiceOut),
- .oice_size_in = sizeof (DSoundVoiceIn)
+ .voice_size_in = sizeof (DSoundVoiceIn)
};