pjsua_set_snd_dev method
Select or change sound device. Application may call this function at any time to replace current sound device.
Note that this function will always try to open the sound device immediately. If immediate open is not preferred, use pjsua_set_snd_dev2() with PJSUA_SND_DEV_NO_IMMEDIATE_OPEN flag.
@param capture_dev Device ID of the capture device. @param playback_dev Device ID of the playback device.
@return PJ_SUCCESS on success, or the appropriate error code.
Implementation
int pjsua_set_snd_dev(
int capture_dev,
int playback_dev,
) {
return _pjsua_set_snd_dev(
capture_dev,
playback_dev,
);
}