diff options
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 4c49f23..8d1d714 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) |