Module: wine Branch: master Commit: 232893e0832bf5082285995303c482d50570e5ff URL: http://source.winehq.org/git/wine.git/?a=commit;h=232893e0832bf5082285995303...
Author: Henri Verbeet hverbeet@codeweavers.com Date: Wed Sep 21 21:01:45 2011 +0200
winealsa.drv: Use the plughw instead of the hw interface for opening devices.
---
dlls/winealsa.drv/mmdevdrv.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/winealsa.drv/mmdevdrv.c b/dlls/winealsa.drv/mmdevdrv.c index c609903..c77b54e 100644 --- a/dlls/winealsa.drv/mmdevdrv.c +++ b/dlls/winealsa.drv/mmdevdrv.c @@ -285,7 +285,7 @@ static HRESULT alsa_get_card_devices(snd_pcm_stream_t stream, WCHAR **ids, char continue; }
- sprintf(devnode, "hw:%d,%d", card, device); + sprintf(devnode, "plughw:%d,%d", card, device); if(!alsa_try_open(devnode, stream)){ if(count_failed) ++(*num);