diff options
author | Chris Robinson <[email protected]> | 2009-09-21 02:31:33 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2009-09-21 02:31:33 -0700 |
commit | 0ae02e8ad4f77287e4641ab9491c94efac2d402b (patch) | |
tree | 600a9237ac17b038d354fdf383095cc2f846270f /Alc/alsa.c | |
parent | 2cbdffab86127635a865b063572db6a9a9f09b99 (diff) |
Support floating point capture for backends that can handle it
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r-- | Alc/alsa.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -620,6 +620,9 @@ open_alsa: 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", pDevice->Format); |