# HG changeset patch # User Ryan C. Gordon # Date 1157133841 0 # Node ID 39897da56f63816b81bc60c3980a3bb8621bbffc # Parent f2058fb367e4e6dc7aaccb7fbe7761db2de8ab83 Whoops, wrong tokens for int32 support in ALSA driver (specified unsigned where it should be signed!). diff -r f2058fb367e4 -r 39897da56f63 src/audio/alsa/SDL_alsa_audio.c --- 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;