Henri Verbeet : winealsa.drv: Use the plughw instead of the hw interface for opening devices.

Alexandre Julliard julliard at winehq.org
Thu Sep 22 13:39:47 CDT 2011


Module: wine
Branch: master
Commit: 232893e0832bf5082285995303c482d50570e5ff
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=232893e0832bf5082285995303c482d50570e5ff

Author: Henri Verbeet <hverbeet at 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);




More information about the wine-cvs mailing list