Mercurial > sdl-ios-xcode
changeset 2010:39897da56f63
Whoops, wrong tokens for int32 support in ALSA driver (specified unsigned
where it should be signed!).
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Fri, 01 Sep 2006 18:04:01 +0000 |
parents | f2058fb367e4 |
children | b2b7154ce016 |
files | src/audio/alsa/SDL_alsa_audio.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/audio/alsa/SDL_alsa_audio.c Fri Sep 01 17:49:27 2006 +0000 +++ b/src/audio/alsa/SDL_alsa_audio.c Fri Sep 01 18:04:01 2006 +0000 @@ -544,10 +544,10 @@ format = SND_PCM_FORMAT_U16_BE; break; case AUDIO_S32LSB: - format = SND_PCM_FORMAT_U32_LE; + format = SND_PCM_FORMAT_S32_LE; break; case AUDIO_S32MSB: - format = SND_PCM_FORMAT_U32_BE; + format = SND_PCM_FORMAT_S32_BE; break; case AUDIO_F32LSB: format = SND_PCM_FORMAT_FLOAT_LE;