Wine and Alsa
So far, Alsa has been causing me a few problems, but once I figured out what was wrong, they've mostly been easy to fix. My soundcard is integrated with my modem, and my modem happens to be the first device, which is apparently what everything defaults to. XMMS gave me the first clue: it had two devices, one under hw:0,0 (which doesn't output sound, at least not through my speakers) and hw:1,0. Once I put it on the second one, XMMS played just fine. KDE had a similar problem; I had to check the override device location box and add the line hw:1,0.
Now the only program I have that won't play sound is Wine. I've looked through the Wine documentation, and on winehq.com, and here on the forums, but I can't find anything that helps. Is there some way I can tell Wine to use the hw:1,0 device?
I noticed some lines under [dsound]:
;; Sets default playback device (0 - number of devices - 1)
;"DefaultPlayback" = "0" ; use first device (/dev/dsp)
;"DefaultPlayback" = "1" ; use second device (/dev/dsp1)
;"DefaultPlayback" = "2" ; use third device (/dev/dsp2)
;; Sets default capture device (0 - number of devices - 1)
;"DefaultCapture" = "0" ; use first device (/dev/dsp)
;"DefaultCapture" = "1" ; use second device (/dev/dsp1)
;"DefaultCapture" = "2" ; use third device (/dev/dsp2)
Is there anything like this for the Alsa devices?
Failing that, is it possible to tell Alsa to use hw:1,0 as the default?
Thanks.
|