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/fmodaudio.c | |
parent | 2700efa3236d20879473d6b9c612f882a1b43dda (diff) | |
download | qemu-1dd3e4d13d0d59de61de518c9e504cb444782510.zip qemu-1dd3e4d13d0d59de61de518c9e504cb444782510.tar.gz qemu-1dd3e4d13d0d59de61de518c9e504cb444782510.tar.bz2 |
use C99 initializers for audio_pcm_ops
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'audio/fmodaudio.c')
-rw-r--r-- | audio/fmodaudio.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/audio/fmodaudio.c b/audio/fmodaudio.c index 8239ed7..17ade51 100644 --- a/audio/fmodaudio.c +++ b/audio/fmodaudio.c @@ -669,17 +669,17 @@ static struct audio_option fmod_options[] = { }; static struct audio_pcm_ops fmod_pcm_ops = { - fmod_init_out, - fmod_fini_out, - fmod_run_out, - fmod_write, - fmod_ctl_out, - - fmod_init_in, - fmod_fini_in, - fmod_run_in, - fmod_read, - fmod_ctl_in + .init_out = fmod_init_out, + .fini_out = fmod_fini_out, + .run_out = fmod_run_out, + .write = fmod_write, + .ctl_out = fmod_ctl_out, + + .init_in = fmod_init_in, + .fini_in = fmod_fini_in, + .run_in = fmod_run_in, + .read = fmod_read, + .ctl_in = fmod_ctl_in }; struct audio_driver fmod_audio_driver = { |