diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-11 02:31:16 +0200 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2009-08-11 20:51:23 +0400 |
commit | 2700efa3236d20879473d6b9c612f882a1b43dda (patch) | |
tree | 4098584a760177929300d1d10cad92cb00a23e53 /audio/sdlaudio.c | |
parent | bee37f32d47a6c04ff57d18e01cf296607e22b30 (diff) |
Use C99 initializers for audio_option
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'audio/sdlaudio.c')
-rw-r--r-- | audio/sdlaudio.c | 8 |
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 = { |