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 2007cff63f857ff3
parent 2006 b3741f227757
child 2008 4ad1e863d100
QNX6 support for int32/float32 (isn't this just ALSA?!)
src/audio/nto/SDL_nto_audio.c
     1.1 --- a/src/audio/nto/SDL_nto_audio.c	Fri Sep 01 06:43:41 2006 +0000
     1.2 +++ b/src/audio/nto/SDL_nto_audio.c	Fri Sep 01 06:55:41 2006 +0000
     1.3 @@ -414,6 +414,22 @@
     1.4              format = SND_PCM_SFMT_U16_BE;
     1.5              found = 1;
     1.6              break;
     1.7 +        case AUDIO_S32LSB:
     1.8 +            format = SND_PCM_SFMT_S32_LE;
     1.9 +            found = 1;
    1.10 +            break;
    1.11 +        case AUDIO_S32MSB:
    1.12 +            format = SND_PCM_SFMT_S32_BE;
    1.13 +            found = 1;
    1.14 +            break;
    1.15 +        case AUDIO_F32LSB:
    1.16 +            format = SND_PCM_SFMT_FLOAT_LE;
    1.17 +            found = 1;
    1.18 +            break;
    1.19 +        case AUDIO_F32MSB:
    1.20 +            format = SND_PCM_SFMT_FLOAT_BE;
    1.21 +            found = 1;
    1.22 +            break;
    1.23          default:
    1.24              break;
    1.25          }