summaryrefslogtreecommitdiff
path: root/audio/coreaudio.c
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
commit85b1f3464c326fb5300d1cbc96af56dbfd2a4a35 (patch)
tree3cff62b8d75f2548720f3dfa17aed7ade86af468 /audio/coreaudio.c
parentc576661c6dc208a777bd2002370f77dbcca8dcb6 (diff)
downloadqemu-85b1f3464c326fb5300d1cbc96af56dbfd2a4a35.tar.gz
qemu-85b1f3464c326fb5300d1cbc96af56dbfd2a4a35.tar.bz2
qemu-85b1f3464c326fb5300d1cbc96af56dbfd2a4a35.zip
use C99 initializers for audio_pcm_ops
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'audio/coreaudio.c')
-rw-r--r--audio/coreaudio.c16
1 files changed, 5 insertions, 11 deletions
diff --git a/audio/coreaudio.c b/audio/coreaudio.c
index ffeaa7f90b..349447099e 100644
--- a/audio/coreaudio.c
+++ b/audio/coreaudio.c
@@ -525,17 +525,11 @@ static struct audio_option coreaudio_options[] = {
};
static struct audio_pcm_ops coreaudio_pcm_ops = {
- coreaudio_init_out,
- coreaudio_fini_out,
- coreaudio_run_out,
- coreaudio_write,
- coreaudio_ctl_out,
-
- NULL,
- NULL,
- NULL,
- NULL,
- NULL
+ .init_out = coreaudio_init_out,
+ .fini_out = coreaudio_fini_out,
+ .run_out = coreaudio_run_out,
+ .write = coreaudio_write,
+ .ctl_out = coreaudio_ctl_out
};
struct audio_driver coreaudio_audio_driver = {