Alexander Chemeris wrote:
On 3/15/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
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.
Ok, I'll look into after you test it. If it will work on my computers,
I'll check
this in.


I have tested it on another computer and it also works there with the patch.

I have attached the patch to the email.

The reason it took so long was that I was unable to run my softphone on other computers as I compiled it in Visual studio 2005 SP1 which uses CRT 8.0.50727.762 which is not available normally. I didn't investigate the reason until today. Installer for this CRT can be found in \Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\vcredist_x86\vcredist_x86.exe if somebody else needs it. The official one from microsoft doesn't contain CRT 8.0.50727.762, but older version.

Jaroslav Libak

Index: MpCodec.cpp
===================================================================
--- MpCodec.cpp (revision 9091)
+++ MpCodec.cpp (working copy)
@@ -147,7 +147,7 @@
        MIXERLINE mxl;
        memset(&mxl, 0, sizeof(MIXERLINE));
        mxl.cbStruct = sizeof(mxl);
-       mxl.dwComponentType = MIXERLINE_COMPONENTTYPE_SRC_MICROPHONE;
+       mxl.dwComponentType = MIXERLINE_COMPONENTTYPE_DST_WAVEIN;
        mmresult = mixerGetLineInfo((HMIXEROBJ)hmx, &mxl, 
MIXER_GETLINEINFOF_COMPONENTTYPE);
 
        if (MMSYSERR_NOERROR == mmresult)
_______________________________________________
sipxtapi-dev mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/

Reply via email to