winealsa: Use "default" as the default card name instead of "default:0".

This commit is contained in:
Karsten Elfenbein 2008-03-04 01:28:58 -08:00 committed by Alexandre Julliard
parent 8b28ca720e
commit 0fe3a59b46

View file

@ -741,7 +741,7 @@ static int ALSA_ScanDevices(int directhw,
char *pcmname = NULL;
snd_pcm_t *pcm;
sprintf(defaultpcmname, "default:%d", card);
sprintf(defaultpcmname, "default");
sprintf(plugpcmname, "plughw:%d,%d", card, device);
sprintf(hwpcmname, "hw:%d,%d", card, device);