aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/alsa.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2008-10-14 09:50:37 -0700
committerChris Robinson <[email protected]>2008-10-14 09:50:37 -0700
commitcb6f040005bec32bfa2f3c9e9f1806572de1d936 (patch)
treea3c07addb66897eaca0b7192267ee3760d39012a /Alc/alsa.c
parentb91c2e4a995ecac496393786fe35584feb274e39 (diff)
Use plughw for capture so ALSA can convert capture data
Diffstat (limited to 'Alc/alsa.c')
-rw-r--r--Alc/alsa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Alc/alsa.c b/Alc/alsa.c
index 9c68c68c..14450a95 100644
--- a/Alc/alsa.c
+++ b/Alc/alsa.c
@@ -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;
}
}