diff options
Diffstat (limited to 'Alc/portaudio.c')
-rw-r--r-- | Alc/portaudio.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Alc/portaudio.c b/Alc/portaudio.c index cfd35b56..4d3eb1de 100644 --- a/Alc/portaudio.c +++ b/Alc/portaudio.c @@ -109,6 +109,9 @@ static ALCboolean pa_open_playback(ALCdevice *device, const ALCchar *deviceName) case 2: outParams.sampleFormat = paInt16; break; + case 4: + outParams.sampleFormat = paFloat32; + break; default: outParams.sampleFormat = -1; AL_PRINT("Unknown format?! %x\n", device->Format); |