Commit aeb5fc04 authored by Ryan C. Gordon's avatar Ryan C. Gordon

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

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%402054
parent 8a3081f3
...@@ -414,6 +414,22 @@ NTO_OpenAudio(_THIS, SDL_AudioSpec * spec) ...@@ -414,6 +414,22 @@ NTO_OpenAudio(_THIS, SDL_AudioSpec * spec)
format = SND_PCM_SFMT_U16_BE; format = SND_PCM_SFMT_U16_BE;
found = 1; found = 1;
break; 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: default:
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment