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/paaudio.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/paaudio.c')
-rw-r--r-- | audio/paaudio.c | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/audio/paaudio.c b/audio/paaudio.c index 2488f74..942e64f 100644 --- a/audio/paaudio.c +++ b/audio/paaudio.c @@ -493,16 +493,17 @@ struct audio_option qpa_options[] = { }; static struct audio_pcm_ops qpa_pcm_ops = { - qpa_init_out, - qpa_fini_out, - qpa_run_out, - qpa_write, - qpa_ctl_out, - qpa_init_in, - qpa_fini_in, - qpa_run_in, - qpa_read, - qpa_ctl_in + .init_out = qpa_init_out, + .fini_out = qpa_fini_out, + .run_out = qpa_run_out, + .write = qpa_write, + .ctl_out = qpa_ctl_out, + + .init_in = qpa_init_in, + .fini_in = qpa_fini_in, + .run_in = qpa_run_in, + .read = qpa_read, + .ctl_in = qpa_ctl_in }; struct audio_driver pa_audio_driver = { |