Mercurial > sdl-ios-xcode
diff src/audio/alsa/SDL_alsa_audio.c @ 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 | adf732f1f016 |
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;