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

QNX6 support for int32/float32 (isn't this just ALSA?!)

  • Loading branch information
icculus committed Sep 1, 2006
1 parent 5d5d61e commit ac31727e6eda73f215952cb4ab0ae39f7cc5c027
Showing with 16 additions and 0 deletions.
  1. +16 −0 src/audio/nto/SDL_nto_audio.c
@@ -414,6 +414,22 @@ NTO_OpenAudio(_THIS, SDL_AudioSpec * spec)
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;
}

0 comments on commit ac31727

Please sign in to comment.