support Administrator
Joined: January 26 2005 Location: United States Posts: 1666
|
Posted: August 17 2007 at 3:26pm | IP Logged
|
|
|
simplikate,
The media engine can operate perfectly OK if the host machine has no multimedia audio support installed.
If you are using the sample app code that comes with the media engine, you should be able to locate the following code in the PhoneBase.cpp module:
Code:
if(pCPhoneBase->EnableInternalAudio)
{
// allow the telephony engine to manage record and playback.
StartupParams.ZeroBasedAudioIn DeviceId = SIP_USE_PREFERED_AUDIO_DEVICE;
StartupParams.ZeroBasedAudioOu tDeviceId = SIP_USE_PREFERED_AUDIO_DEVICE;
StartupParams.AudioRecordBandW idth = AUDIO_BW_PCM_22K;
StartupParams.AudioPlaybackBan dWidth = AUDIO_BW_PCM_22K;
}
else
{
// disable telephony engine audio record and playback.
StartupParams.ZeroBasedAudioIn DeviceId = SIP_AUDIO_DEVICE_NOT_USED;
StartupParams.ZeroBasedAudioOu tDeviceId = SIP_AUDIO_DEVICE_NOT_USED;
StartupParams.AudioRecordBandW idth = AUDIO_BW_UNDEFINED;
StartupParams.AudioPlaybackBan dWidth = AUDIO_BW_UNDEFINED;
}
|
|
|
Setting the pCPhoneBase->EnableInternalAudio value to FALSE will cause the media engine to not use local multimedia hardware.
I hate to have to put you through this but: I think a good idea would be to install your updated product image that is waiting for you in your FTP support account and start from there. As a general rule, to allow the media engine to not use any multimedia hardware, you would set the following startup parameter values:
Code:
// disable telephony engine audio record and playback.
StartupParams.ZeroBasedAudioIn DeviceId = SIP_AUDIO_DEVICE_NOT_USED;
StartupParams.ZeroBasedAudioOu tDeviceId = SIP_AUDIO_DEVICE_NOT_USED;
StartupParams.AudioRecordBandW idth = AUDIO_BW_UNDEFINED;
StartupParams.AudioPlaybackBan dWidth = AUDIO_BW_UNDEFINED;
|
|
|
... and that would be it.
Support
|