OsStatus sipXmediaFactoryImpl::muteMicrophone(UtlBoolean bMute) { if (bMute) { MpCodec_setGain(0); } else { MpCodec_setGain(miGain); } return OS_SUCCESS; }
OsStatus sipXmediaFactoryImpl::muteMicrophone(UtlBoolean bMute) { //#ifdef WIN32 if (bMute) { MpCodec_setGain(0) ; } else { MpCodec_setGain(miGain) ; } //#endif return OS_SUCCESS ; }
OsStatus sipXmediaFactoryImpl::setMicrophoneGain(int iGain) { OsStatus rc; miGain = iGain; rc = MpCodec_setGain(miGain); return rc; }
OsStatus sipXmediaFactoryImpl::setMicrophoneGain(int iGain) { OsStatus rc ; miGain = iGain ; # ifdef WIN32 rc = MpCodec_setGain(miGain) ; # else rc = OS_FAILED; # endif return rc ; }