QNX6 support for int32/float32 (isn't this just ALSA?!)
authorRyan C. Gordon <icculus@icculus.org>
Fri, 01 Sep 2006 06:55:41 +0000
changeset 2007 cff63f857ff3
parent 2006 b3741f227757
child 2008 4ad1e863d100
QNX6 support for int32/float32 (isn't this just ALSA?!)
src/audio/nto/SDL_nto_audio.c
--- 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;
         }