http://bugs.winehq.org/show_bug.cgi?id=10910
--- Comment #46 from Raymond superquad.vortex2@gmail.com 2010-12-24 19:09:21 CST --- (In reply to comment #3)
Created an attachment (id=10796)
--> (http://bugs.winehq.org/attachment.cgi?id=10796) [details]
Partial fix
This patch fixes two issues. It makes wine pick 'default' over incorrect 'default:X' for alsa device. It will also use the master channel for the mixer channel in stead of PCM which isn't present on all cards nor when using pulseaudio plugin for alsa.
Wave out sound will work under with pulseaudio now, but directsound is unfortunately still broken due to some other problem which I'm uncertain about whether it lies in pulseaudio or wine.
The workaround previously posted in this bug entry does not seem to fix directsound being broken with pulseaudio..
** FIXME: It is probably short sighted to hard code and fixate on PCM Playback Volume */ snd_ctl_elem_id_set_name(elemidp, "PCM Playback Volume");
The comment is wrong , since waveout device is only control PCM output in the sound card and there are other inputs to the Master Mixer such as "Line Play Volume" for "Line In" Blue jack, "Mic Playback Volume" for "Mic" pink jack, "CD Playback Volume" for CD , "Synth Playback Volume" for the WaveTable Synth
The bug is alsa-pulse plugin only provide "Master Playback volume control/switche" instead of the volume control of the audio stream