diff options
author | Juan Quintela <quintela@redhat.com> | 2009-08-11 02:31:17 +0200 |
---|---|---|
committer | malc <av1474@comtv.ru> | 2009-08-11 20:51:24 +0400 |
commit | 1a40d5e23577b955265fe12a2b7b5222ec2df0f2 (patch) | |
tree | a5d043000b861d524237dcb6d581ee1026f99f86 /audio/alsaaudio.c | |
parent | 1dd3e4d13d0d59de61de518c9e504cb444782510 (diff) |
use C99 initializers for all audio/*
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'audio/alsaaudio.c')
-rw-r--r-- | audio/alsaaudio.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/audio/alsaaudio.c b/audio/alsaaudio.c index e079dba8a4..862579a9d7 100644 --- a/audio/alsaaudio.c +++ b/audio/alsaaudio.c @@ -786,8 +786,10 @@ static int alsa_run_in (HWVoiceIn *hw) int add; int len; } bufs[2] = { - { hw->wpos, 0 }, - { 0, 0 } + {.add = hw->wpos, + .len = 0}, + {.add = 0, + .len = 0} }; snd_pcm_sframes_t avail; snd_pcm_uframes_t read_samples = 0; |