changeset 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 b3741f227757
children 4ad1e863d100
files src/audio/nto/SDL_nto_audio.c
diffstat 1 files changed, 16 insertions(+), 0 deletions(-) [+]
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;
         }