Kwint wrote:
> I only change the first one.
> If I change second either, then it sets volume on the last recording control,
> because it doesn't break from loop.
>
> So I use:
>
> MIXERLINE mxl;
> memset(&mxl, 0, sizeof(MIXERLINE));
> mxl.cbStruct = sizeof(mxl);
> mxl.dwComponentType = MIXERLINE_COMPONENTTYPE_DST_WAVEIN;
>
> and
>
> for(DWORD j=0; j<cConnections; j++)
> {
> mxl.dwSource = j;
> mixerGetLineInfo((HMIXEROBJ)hmx, &mxl, MIXER_GETLINEINFOF_SOURCE);
> if (MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE == mxl.dwComponentType)
> break;
> }
>
> _______________________________________________
> sipxtapi-dev mailing list
> [email protected]
> List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
>
>
Then this will be the fix for the problem if alexander chemeris agrees.
I will test it on another laptop and also maybe alexander chemeris
should test it just to be sure it doesnt cause problems on somebody
elses soundcard.
Jaroslav Libak
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/