aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-08-11 02:31:15 +0200
committermalc <av1474@comtv.ru>2009-08-11 20:51:24 +0400
commit1dd3e4d13d0d59de61de518c9e504cb444782510 (patch)
tree3cff62b8d75f2548720f3dfa17aed7ade86af468 /audio/alsaaudio.c
parentUse C99 initializers for audio_option (diff)
downloadqemu-kvm-1dd3e4d13d0d59de61de518c9e504cb444782510.tar.gz
qemu-kvm-1dd3e4d13d0d59de61de518c9e504cb444782510.tar.bz2
qemu-kvm-1dd3e4d13d0d59de61de518c9e504cb444782510.zip
use C99 initializers for audio_pcm_ops
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'audio/alsaaudio.c')
-rw-r--r--audio/alsaaudio.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c
index 574531297..e079dba8a 100644
--- a/audio/alsaaudio.c
+++ b/audio/alsaaudio.c
@@ -983,17 +983,17 @@ static struct audio_option alsa_options[] = {
};
static struct audio_pcm_ops alsa_pcm_ops = {
- alsa_init_out,
- alsa_fini_out,
- alsa_run_out,
- alsa_write,
- alsa_ctl_out,
-
- alsa_init_in,
- alsa_fini_in,
- alsa_run_in,
- alsa_read,
- alsa_ctl_in
+ .init_out = alsa_init_out,
+ .fini_out = alsa_fini_out,
+ .run_out = alsa_run_out,
+ .write = alsa_write,
+ .ctl_out = alsa_ctl_out,
+
+ .init_in = alsa_init_in,
+ .fini_in = alsa_fini_in,
+ .run_in = alsa_run_in,
+ .read = alsa_read,
+ .ctl_in = alsa_ctl_in
};
struct audio_driver alsa_audio_driver = {