[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-patches
Subject: [PATCH 3/6] winealsa.drv: Always scan devices, even if a default
From: Jeff Cook <jeff () deserettechnology ! com>
Date: 2010-07-31 4:00:13
Message-ID: AANLkTimcSFSdQhjvv3J_=b0ac8i2kFTLq-ujKcg7DPC9 () mail ! gmail ! com
[Download RAW message or body]
---
dlls/winealsa.drv/waveinit.c | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
["0003-winealsa.drv-Always-scan-devices-even-if-a-default-d.patch" (text/x-patch)]
diff --git a/dlls/winealsa.drv/waveinit.c b/dlls/winealsa.drv/waveinit.c
index 4ae93bb..0daa203 100644
--- a/dlls/winealsa.drv/waveinit.c
+++ b/dlls/winealsa.drv/waveinit.c
@@ -699,7 +699,11 @@ static int ALSA_ScanDevices(int directhw,
int fixedctlcard, int fixedpcmcard, int fixedpcmdev)
{
int card = fixedpcmcard;
- int scan_devices = (fixedpcmdev == -1);
+ /* we always want to scan_devices; otherwise, if a default is set and the
+ appropriate registry keys are not set, only the default device will be seen
+ by wine. This is undesirable, for instance, if you have separate cards for
+ capture and playback, like a USB microphone for capture */
+ int scan_devices = 1;
/*------------------------------------------------------------------------
** Loop through all available cards
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic