summaryrefslogtreecommitdiff
path: root/audio/sdlaudio.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/sdlaudio.c')
-rw-r--r--audio/sdlaudio.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/audio/sdlaudio.c b/audio/sdlaudio.c
index 6870fdf1ed..e2563ba532 100644
--- a/audio/sdlaudio.c
+++ b/audio/sdlaudio.c
@@ -420,9 +420,11 @@ static void sdl_audio_fini (void *opaque)
}
static struct audio_option sdl_options[] = {
- {"SAMPLES", AUD_OPT_INT, &conf.nb_samples,
- "Size of SDL buffer in samples", NULL, 0},
- {NULL, 0, NULL, NULL, NULL, 0}
+ {.name = "SAMPLES",
+ .tag = AUD_OPT_INT,
+ .valp = &conf.nb_samples,
+ .descr = "Size of SDL buffer in samples"},
+ { /* End of list */ }
};
static struct audio_pcm_ops sdl_pcm_ops = {