Hello, On 3/13/07, Kwint <[EMAIL PROTECTED]> wrote: > On my PC sipxAudioSetGain isn't really working. It only mutes on volume level > 1 > and unmutes on volume levels >= 2 > > In MpCodec_setGain I've changed: > mxl.dwComponentType = MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE; > > to > > mxl.dwComponentType = MIXERLINE_COMPONENTTYPE_DST_WAVEIN; > > and now it works.
Jaroslav, you've touched Windows mixer code recently, could you comment this? >From google codesearch I see that many projects do some magic with this two component types, e.g.: http://www.google.com/codesearch?hl=ru&q=+if+mixerGetLineInfo+dwComponentType+MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE+MIXERLINE_COMPONENTTYPE_DST_WAVEIN+show:f7XBCxqQ9sk:4CLm8sdeppQ:P3kkkZv6fqI&sa=N&cd=5&ct=rc&cs_p=http://www.jaytee.se/download/JusTalk2-0.9.6-GPL.zip&cs_f=JusTalk2-0.9.6-GPL/mixer.cpp#a0 -- Regards, Alexander Chemeris. SIPez LLC. SIP VoIP, IM and Presence Consulting http://www.SIPez.com tel: +1 (617) 273-4000 _______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
