diff options
Diffstat (limited to 'audio/wavaudio.c')
-rw-r--r-- | audio/wavaudio.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/audio/wavaudio.c b/audio/wavaudio.c index ca1e99f4ce..c359fc4f2b 100644 --- a/audio/wavaudio.c +++ b/audio/wavaudio.c @@ -135,7 +135,8 @@ static int wav_init_out (HWVoiceOut *hw, audsettings_t *as) hdr[34] = bits16 ? 0x10 : 0x08; - audio_pcm_init_info (&hw->info, &wav_as, audio_need_to_swap_endian (0)); + wav_as.endianness = 0; + audio_pcm_init_info (&hw->info, &wav_as); hw->samples = 1024; wav->pcm_buf = audio_calloc (AUDIO_FUNC, hw->samples, 1 << hw->info.shift); |