[PATCH 5/6] winealsa.drv: Don't open the same card on every loop. (resend)

Alexandre Julliard julliard at winehq.org
Tue Aug 3 04:57:45 CDT 2010


Jeff Cook <jeff at deserettechnology.com> writes:

> @@ -753,7 +753,7 @@ static int ALSA_ScanDevices(int directhw,
>              char *pcmname = NULL;
>              snd_pcm_t *pcm;
>  
> -            sprintf(defaultpcmname, "default");
> +            sprintf(defaultpcmname, "default:%d", card);

We used to do that, but it was changed because it's not correct, cf. bug 10942.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list