Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
QNX6 support for int32/float32 (isn't this just ALSA?!)
- Loading branch information
Showing
with
16 additions
and
0 deletions.
-
+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; |
|
|
} |
|
|