Hi

I'm using sipXtapi-media-update branch and have a problem with sipxAudioSetGain 
function. It always fails and mic gain cannot be set. It then goes into 
sipXmediaFactoryImpl::setMicrophoneGain and then into MpCodec_setGain(int 
level).

In the last function it opens a mixer and tries to find the microphone.

The problem is my sound card has 2 separate mixer devices which are shown in 
the master volume control->options->properties
There is Realtek HD Audio Input and Realtek HD Audio Output. I guess it uses 
the output mixer device, cannot find microphone there (by calling 
mixerGetLineInfo) and fails.

It occurs on a laptop so I cannot replace the sound card. I think 3.6 branch 
has the same problem.

The solution would be to go through all mixer devices if there are more and 
find the microphone.

Jaro
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to