diff options
author | Chris Robinson <[email protected]> | 2009-08-15 13:20:35 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-08-15 13:20:35 -0700 |
commit | dc26261065a7ff78657ac79accc993c78069deca (patch) | |
tree | 2b9696d7aedc196acce6f1b05409c0f8237abf13 /Alc/alsa.c | |
parent | 9bea67fb1c99698ccdf9cfa695a09036846163c6 (diff) |
Support 32-bit float output
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r-- | Alc/alsa.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -417,6 +417,9 @@ static ALCboolean alsa_start_context(ALCdevice *device, ALCcontext *context) case 2: data->format = SND_PCM_FORMAT_S16; break; + case 4: + data->format = SND_PCM_FORMAT_FLOAT; + break; default: data->format = SND_PCM_FORMAT_UNKNOWN; AL_PRINT("Unknown format?! %x\n", device->Format); |