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
commit1dd3e4d13d0d59de61de518c9e504cb444782510 (patch)
tree3cff62b8d75f2548720f3dfa17aed7ade86af468 /audio/coreaudio.c
parent2700efa3236d20879473d6b9c612f882a1b43dda (diff)
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 = {