winealsa: Improve sound mixer detection.
commit3006b9335cd3696486305b532e9a6d0a7b1fc45a
authorMaarten Lankhorst <m.b.lankhorst@gmail.com>
Wed, 2 May 2007 18:09:49 +0000 (2 20:09 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 3 May 2007 12:23:09 +0000 (3 14:23 +0200)
tree11859b3a5fae18175eb50760a39813de29b63ee8
parentec9f7550865f6d4bd2629016452bc3085cbf9d6e
winealsa: Improve sound mixer detection.

The previous mixer code depended on the existence of 1 'Master', and 1
'Capture' control. According to some feedback in wine-devel this is not
always the case, the new code will try the following order for loading:
Destination waveout: Master, Headphone PCM
Destination wavein: Capture
dlls/winealsa.drv/mixer.c