From dc26261065a7ff78657ac79accc993c78069deca Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sat, 15 Aug 2009 13:20:35 -0700 Subject: Support 32-bit float output --- Alc/pulseaudio.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Alc/pulseaudio.c') diff --git a/Alc/pulseaudio.c b/Alc/pulseaudio.c index 2faf0ea5..3eac26cb 100644 --- a/Alc/pulseaudio.c +++ b/Alc/pulseaudio.c @@ -366,6 +366,9 @@ static ALCboolean pulse_start_context(ALCdevice *device, ALCcontext *context) // case 2: data->spec.format = PA_SAMPLE_S16NE; break; + case 4: + data->spec.format = PA_SAMPLE_FLOAT32NE; + break; default: AL_PRINT("Unknown format: %x\n", device->Format); ppa_threaded_mainloop_unlock(data->loop); -- cgit v1.2.3