From cb6f040005bec32bfa2f3c9e9f1806572de1d936 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 14 Oct 2008 09:50:37 -0700 Subject: Use plughw for capture so ALSA can convert capture data --- Alc/alsa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Alc') 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; } } -- cgit v1.2.3