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/wavaudio.c | |
parent | 1dd3e4d13d0d59de61de518c9e504cb444782510 (diff) |
use C99 initializers for all audio/*
Signed-off-by: Juan Quintela <quintela@redhat.com>
Diffstat (limited to 'audio/wavaudio.c')
-rw-r--r-- | audio/wavaudio.c | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/audio/wavaudio.c b/audio/wavaudio.c index 4c49f23e95..8d1d7147f7 100644 --- a/audio/wavaudio.c +++ b/audio/wavaudio.c @@ -40,13 +40,10 @@ static struct { struct audsettings settings; const char *wav_path; } conf = { - { - 44100, - 2, - AUD_FMT_S16, - 0 - }, - "qemu.wav" + .settings.freq = 44100, + .settings.nchannels = 2, + .settings.fmt = AUD_FMT_S16, + .wav_path = "qemu.wav" }; static int wav_run_out (HWVoiceOut *hw) |