diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-11 02:31:15 +0200 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2009-08-11 20:51:24 +0400 |
commit | 1dd3e4d13d0d59de61de518c9e504cb444782510 (patch) | |
tree | 3cff62b8d75f2548720f3dfa17aed7ade86af468 /audio/sdlaudio.c | |
parent | 2700efa3236d20879473d6b9c612f882a1b43dda (diff) |
use C99 initializers for audio_pcm_ops
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'audio/sdlaudio.c')
-rw-r--r-- | audio/sdlaudio.c | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/audio/sdlaudio.c b/audio/sdlaudio.c index e2563ba532..e8c6a2866b 100644 --- a/audio/sdlaudio.c +++ b/audio/sdlaudio.c @@ -428,17 +428,11 @@ static struct audio_option sdl_options[] = { }; static struct audio_pcm_ops sdl_pcm_ops = { - sdl_init_out, - sdl_fini_out, - sdl_run_out, - sdl_write_out, - sdl_ctl_out, - - NULL, - NULL, - NULL, - NULL, - NULL + .init_out = sdl_init_out, + .fini_out = sdl_fini_out, + .run_out = sdl_run_out, + .write = sdl_write_out, + .ctl_out = sdl_ctl_out, }; struct audio_driver sdl_audio_driver = { |