diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-11 02:31:14 +0200 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2009-08-11 20:51:23 +0400 |
commit | bee37f32d47a6c04ff57d18e01cf296607e22b30 (patch) | |
tree | 546451578b316fd720580b20bd922105ab97f04c /audio/paaudio.c | |
parent | c981d39c95fcf4c3defa7828a8c9866cf3c83a1b (diff) |
Use proper struct initializers and remove INIT_FIELD() macro
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'audio/paaudio.c')
-rw-r--r-- | audio/paaudio.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/audio/paaudio.c b/audio/paaudio.c index a50fccc37f..0b469cf992 100644 --- a/audio/paaudio.c +++ b/audio/paaudio.c @@ -501,15 +501,15 @@ static struct audio_pcm_ops qpa_pcm_ops = { }; struct audio_driver pa_audio_driver = { - INIT_FIELD (name = ) "pa", - INIT_FIELD (descr = ) "http://www.pulseaudio.org/", - INIT_FIELD (options = ) qpa_options, - INIT_FIELD (init = ) qpa_audio_init, - INIT_FIELD (fini = ) qpa_audio_fini, - INIT_FIELD (pcm_ops = ) &qpa_pcm_ops, - INIT_FIELD (can_be_default = ) 0, - INIT_FIELD (max_voices_out = ) INT_MAX, - INIT_FIELD (max_voices_in = ) INT_MAX, - INIT_FIELD (voice_size_out = ) sizeof (PAVoiceOut), - INIT_FIELD (voice_size_in = ) sizeof (PAVoiceIn) + .name = "pa", + .descr = "http://www.pulseaudio.org/", + .options = qpa_options, + .init = qpa_audio_init, + .fini = qpa_audio_fini, + .pcm_ops = &qpa_pcm_ops, + .can_be_default = 0, + .max_voices_out = INT_MAX, + .max_voices_in = INT_MAX, + .voice_size_out = sizeof (PAVoiceOut), + .voice_size_in = sizeof (PAVoiceIn) }; |