http://bugs.winehq.org/show_bug.cgi?id=23902
--- Comment #53 from Raymond superquad.vortex2@gmail.com 2010-08-24 08:59:46 --- (In reply to comment #52)
(In reply to comment #50)
sorry, it seem that I am wrong ,
"Master Front" of your codec is the volume control associated with the DAC [Audio Output] which is MIXERLINE_COMPONENTTYPE_SRC_WAVEOUT "Front" and "Headphone" are volume control associated with the [Pin Complex] MIXERLINE_COMPONENTTYPE_DST_SPEAKERS
In "amixer -c0" nothing about Master Front is a converter.
cat /proc/asound/card0/codec#0
if your HDA codec is at address 0 and alsa-driver is 1.0.21 or above
hda - proc - introduce Control: lines to show mixer<->NID assignment
http://git.alsa-project.org/?p=alsa-kernel.git;a=commit;h=3911a4c19e92773876...
I use 'Master Front' as mastelem (with my patch), and i tested with AIMP2 player. Mixer, equalizer
and balance[L=R] work normally. Global volume controlling not work, but I think that wine-programs should not have that right.
But in fact the primary problem, is crashing if elems not set. The program should not crash, the program must simply work without sound.
Crashed if: a) mastelem not set, micelem set
Not crashed if: a) mastelem not set, micelem not set b) mastelem set, micelem set
because when your card does not have "Master" volume control but has "Mic" volume control , it still call filllines_no_master() , the elem of control 0 is still null
if (mastelem) filllines(&mixdev[mixnum], mastelem, captelem, capcontrols); else if (micelem ) filllines_no_master(&mixdev[mixnum], micelem, 1);