Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Whoops, wrong tokens for int32 support in ALSA driver (specified unsi…

…gned

 where it should be signed!).
  • Loading branch information
icculus committed Sep 1, 2006
1 parent 124163b commit 01271673c139a80b9909149a879f887bde6319fb
Showing with 2 additions and 2 deletions.
  1. +2 −2 src/audio/alsa/SDL_alsa_audio.c
@@ -544,10 +544,10 @@ ALSA_OpenAudio(_THIS, SDL_AudioSpec * spec)
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;

0 comments on commit 0127167

Please sign in to comment.