diff options
author | Juan Quintela | 2009-08-11 02:31:15 +0200 |
---|---|---|
committer | malc | 2009-08-11 18:51:24 +0200 |
commit | 1dd3e4d13d0d59de61de518c9e504cb444782510 (patch) | |
tree | 3cff62b8d75f2548720f3dfa17aed7ade86af468 /audio/dsoundaudio.c | |
parent | Use C99 initializers for audio_option (diff) | |
download | qemu-1dd3e4d13d0d59de61de518c9e504cb444782510.tar.gz qemu-1dd3e4d13d0d59de61de518c9e504cb444782510.tar.xz qemu-1dd3e4d13d0d59de61de518c9e504cb444782510.zip |
use C99 initializers for audio_pcm_ops
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'audio/dsoundaudio.c')
-rw-r--r-- | audio/dsoundaudio.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/audio/dsoundaudio.c b/audio/dsoundaudio.c index 6c52c65a61..aff08177f8 100644 --- a/audio/dsoundaudio.c +++ b/audio/dsoundaudio.c @@ -1079,17 +1079,17 @@ static struct audio_option dsound_options[] = { }; static struct audio_pcm_ops dsound_pcm_ops = { - dsound_init_out, - dsound_fini_out, - dsound_run_out, - dsound_write, - dsound_ctl_out, - - dsound_init_in, - dsound_fini_in, - dsound_run_in, - dsound_read, - dsound_ctl_in + .init_out = dsound_init_out, + .fini_out = dsound_fini_out, + .run_out = dsound_run_out, + .write = dsound_write, + .ctl_out = dsound_ctl_out, + + .init_in = dsound_init_in, + .fini_in = dsound_fini_in, + .run_in = dsound_run_in, + .read = dsound_read, + .ctl_in = dsound_ctl_in }; struct audio_driver dsound_audio_driver = { |