本文整理汇总了C#中FreeSWITCH.Native.switch_codec_implementation类的典型用法代码示例。如果您正苦于以下问题:C# switch_codec_implementation类的具体用法?C# switch_codec_implementation怎么用?C# switch_codec_implementation使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
switch_codec_implementation类属于FreeSWITCH.Native命名空间,在下文中一共展示了switch_codec_implementation类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: getCPtr
internal static HandleRef getCPtr(switch_codec_implementation obj)
{
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
示例2: switch_core_session_set_write_impl
public static switch_status_t switch_core_session_set_write_impl(SWIGTYPE_p_switch_core_session session, switch_codec_implementation impp)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_session_set_write_impl(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_codec_implementation.getCPtr(impp));
return ret;
}
示例3: switch_core_gen_encoded_silence
public static void switch_core_gen_encoded_silence(SWIGTYPE_p_unsigned_char data, switch_codec_implementation read_impl, SWIGTYPE_p_switch_size_t len) {
freeswitchPINVOKE.switch_core_gen_encoded_silence(SWIGTYPE_p_unsigned_char.getCPtr(data), switch_codec_implementation.getCPtr(read_impl), SWIGTYPE_p_switch_size_t.getCPtr(len));
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
}