Mercurial > sdl-ios-xcode
diff src/audio/nto/SDL_nto_audio.c @ 2007:cff63f857ff3
QNX6 support for int32/float32 (isn't this just ALSA?!)
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Fri, 01 Sep 2006 06:55:41 +0000 |
parents | 3b4ce57c6215 |
children | 5f6550e5184f c8b3d3d13ed1 |
line wrap: on
line diff
--- a/src/audio/nto/SDL_nto_audio.c Fri Sep 01 06:43:41 2006 +0000 +++ b/src/audio/nto/SDL_nto_audio.c Fri Sep 01 06:55:41 2006 +0000 @@ -414,6 +414,22 @@ format = SND_PCM_SFMT_U16_BE; found = 1; break; + case AUDIO_S32LSB: + format = SND_PCM_SFMT_S32_LE; + found = 1; + break; + case AUDIO_S32MSB: + format = SND_PCM_SFMT_S32_BE; + found = 1; + break; + case AUDIO_F32LSB: + format = SND_PCM_SFMT_FLOAT_LE; + found = 1; + break; + case AUDIO_F32MSB: + format = SND_PCM_SFMT_FLOAT_BE; + found = 1; + break; default: break; }