[PATCH 3/6] winealsa.drv: Always scan devices, even if a default device exists. (resend)

Vitaliy Margolen wine-devel at kievinfo.com
Tue Aug 3 08:51:06 CDT 2010


On 08/02/2010 05:49 PM, Jeff Cook wrote:
> ---
> dlls/winealsa.drv/waveinit.c | 6 +++++-
> 1 files changed, 5 insertions(+), 1 deletions(-)
>
> -    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;

Please make it possible to force old behavior via registry. This was done 
for a reason - some devices were crashing during initialization, some were 
taking way too long to initialize.

Vitaliy



More information about the wine-devel mailing list