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/coreaudio.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/coreaudio.c')
| -rw-r--r-- | audio/coreaudio.c | 16 |
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 = { |
