OsStatus sipXmediaFactoryImpl::getSpeakerVolume(int& iVolume) const { OsStatus rc = OS_SUCCESS ; //#ifdef WIN32 iVolume = MpCodec_getVolume() ; //#endif return rc ; }
OsStatus sipXmediaFactoryImpl::getSpeakerVolume(int& iVolume) const { OsStatus rc = OS_SUCCESS; iVolume = MpCodec_getVolume(); if (iVolume==-1) { rc = OS_FAILED; iVolume = 0; } return rc; }