diff options
author | Chris Robinson <[email protected]> | 2008-10-14 09:50:37 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2008-10-14 09:50:37 -0700 |
commit | cb6f040005bec32bfa2f3c9e9f1806572de1d936 (patch) | |
tree | a3c07addb66897eaca0b7192267ee3760d39012a /Alc/alsa.c | |
parent | b91c2e4a995ecac496393786fe35584feb274e39 (diff) |
Use plughw for capture so ALSA can convert capture data
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r-- | Alc/alsa.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -543,7 +543,7 @@ static ALCboolean alsa_open_capture(ALCdevice *pDevice, const ALCchar *deviceNam { pDevice->szDeviceName = allCaptureDevNameMap[idx].name; if(idx > 0) - sprintf(driver, "hw:%d,%d", allCaptureDevNameMap[idx].card, allCaptureDevNameMap[idx].dev); + sprintf(driver, "plughw:%d,%d", allCaptureDevNameMap[idx].card, allCaptureDevNameMap[idx].dev); goto open_alsa; } } |