aboutsummaryrefslogtreecommitdiff
path: root/audio/paaudio.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/paaudio.c
parent2700efa3236d20879473d6b9c612f882a1b43dda (diff)
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.c21
1 files changed, 11 insertions, 10 deletions
diff --git a/audio/paaudio.c b/audio/paaudio.c
index 2488f74d53..942e64f2b2 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 = {