pjsua_get_snd_dev method
Get currently active sound devices. If sound devices has not been created (for example when pjsua_start() is not called), it is possible that the function returns PJ_SUCCESS with -1 as device IDs. See also #pjsua_snd_dev_id constants.
@param capture_dev On return it will be filled with device ID of the capture device. @param playback_dev On return it will be filled with device ID of the device ID of the playback device.
@return PJ_SUCCESS on success, or the appropriate error code.
Implementation
int pjsua_get_snd_dev(
ffi.Pointer<ffi.Int> capture_dev,
ffi.Pointer<ffi.Int> playback_dev,
) {
return _pjsua_get_snd_dev(
capture_dev,
playback_dev,
);
}