Whoops, wrong tokens for int32 support in ALSA driver (specified unsigned
authorRyan C. Gordon <icculus@icculus.org>
Fri, 01 Sep 2006 18:04:01 +0000
changeset 201039897da56f63
parent 2009 f2058fb367e4
child 2011 b2b7154ce016
Whoops, wrong tokens for int32 support in ALSA driver (specified unsigned
where it should be signed!).
src/audio/alsa/SDL_alsa_audio.c
     1.1 --- a/src/audio/alsa/SDL_alsa_audio.c	Fri Sep 01 17:49:27 2006 +0000
     1.2 +++ b/src/audio/alsa/SDL_alsa_audio.c	Fri Sep 01 18:04:01 2006 +0000
     1.3 @@ -544,10 +544,10 @@
     1.4              format = SND_PCM_FORMAT_U16_BE;
     1.5              break;
     1.6          case AUDIO_S32LSB:
     1.7 -            format = SND_PCM_FORMAT_U32_LE;
     1.8 +            format = SND_PCM_FORMAT_S32_LE;
     1.9              break;
    1.10          case AUDIO_S32MSB:
    1.11 -            format = SND_PCM_FORMAT_U32_BE;
    1.12 +            format = SND_PCM_FORMAT_S32_BE;
    1.13              break;
    1.14          case AUDIO_F32LSB:
    1.15              format = SND_PCM_FORMAT_FLOAT_LE;