本文整理汇总了C#中FreeSWITCH.Native.SWIGTYPE_p_switch_buffer类的典型用法代码示例。如果您正苦于以下问题:C# SWIGTYPE_p_switch_buffer类的具体用法?C# SWIGTYPE_p_switch_buffer怎么用?C# SWIGTYPE_p_switch_buffer使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SWIGTYPE_p_switch_buffer类属于FreeSWITCH.Native命名空间,在下文中一共展示了SWIGTYPE_p_switch_buffer类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: getCPtr
internal static HandleRef getCPtr(SWIGTYPE_p_switch_buffer obj)
{
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
示例2: switch_buffer_zero
public static void switch_buffer_zero(SWIGTYPE_p_switch_buffer buffer)
{
freeswitchPINVOKE.switch_buffer_zero(SWIGTYPE_p_switch_buffer.getCPtr(buffer));
}
示例3: switch_buffer_zwrite
public static SWIGTYPE_p_switch_size_t switch_buffer_zwrite(SWIGTYPE_p_switch_buffer buffer, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t datalen)
{
SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_buffer_zwrite(SWIGTYPE_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(datalen)), true);
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例4: switch_buffer_set_loops
public static void switch_buffer_set_loops(SWIGTYPE_p_switch_buffer buffer, int loops)
{
freeswitchPINVOKE.switch_buffer_set_loops(SWIGTYPE_p_switch_buffer.getCPtr(buffer), loops);
}
示例5: switch_buffer_trylock
public static switch_status_t switch_buffer_trylock(SWIGTYPE_p_switch_buffer buffer)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_buffer_trylock(SWIGTYPE_p_switch_buffer.getCPtr(buffer));
return ret;
}
示例6: switch_buffer_len
public static SWIGTYPE_p_switch_size_t switch_buffer_len(SWIGTYPE_p_switch_buffer buffer)
{
SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_buffer_len(SWIGTYPE_p_switch_buffer.getCPtr(buffer)), true);
return ret;
}
示例7: switch_buffer_add_mutex
public static void switch_buffer_add_mutex(SWIGTYPE_p_switch_buffer buffer, SWIGTYPE_p_switch_mutex_t mutex)
{
freeswitchPINVOKE.switch_buffer_add_mutex(SWIGTYPE_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_switch_mutex_t.getCPtr(mutex));
}
示例8: switch_buffer_peek_zerocopy
public static SWIGTYPE_p_switch_size_t switch_buffer_peek_zerocopy(SWIGTYPE_p_switch_buffer buffer, SWIGTYPE_p_p_void ptr) {
SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_buffer_peek_zerocopy(SWIGTYPE_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_p_void.getCPtr(ptr)), true);
return ret;
}
示例9: switch_buffer_reset_partition_data
public static switch_status_t switch_buffer_reset_partition_data(SWIGTYPE_p_switch_buffer buffer) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_buffer_reset_partition_data(SWIGTYPE_p_switch_buffer.getCPtr(buffer));
return ret;
}
示例10: switch_buffer_set_partition_data
public static switch_status_t switch_buffer_set_partition_data(SWIGTYPE_p_switch_buffer buffer, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t datalen) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_buffer_set_partition_data(SWIGTYPE_p_switch_buffer.getCPtr(buffer), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(datalen));
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret;
}