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

oldstable
Henri Verbeet 2011-09-21 21:01:45 +02:00 committed by Alexandre Julliard
parent 0625d439de
commit 232893e083
1 changed files with 1 additions and 1 deletions

View File

@ -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);