diff options
author | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-07-04 21:47:22 +0000 |
---|---|---|
committer | bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162> | 2006-07-04 21:47:22 +0000 |
commit | d929eba5d47f097302779d55427712c3ceb931ad (patch) | |
tree | 14ca7172d2abe2d446f96b885464b17044705d3e /audio/sdlaudio.c | |
parent | 219fb125039e175a92aa14684ac688305b5143bd (diff) |
audio endianness API changes (malc)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@2042 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'audio/sdlaudio.c')
-rw-r--r-- | audio/sdlaudio.c | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/audio/sdlaudio.c b/audio/sdlaudio.c index 9fe212833f..f2a6896a52 100644 --- a/audio/sdlaudio.c +++ b/audio/sdlaudio.c @@ -335,12 +335,9 @@ static int sdl_init_out (HWVoiceOut *hw, audsettings_t *as) obt_as.freq = obt.freq; obt_as.nchannels = obt.channels; obt_as.fmt = effective_fmt; + obt_as.endianness = endianess; - audio_pcm_init_info ( - &hw->info, - &obt_as, - audio_need_to_swap_endian (endianess) - ); + audio_pcm_init_info (&hw->info, &obt_as); hw->samples = obt.samples; s->initialized = 1; |