本文整理汇总了C#中FreeSWITCH.Native.SWIGTYPE_p_short类的典型用法代码示例。如果您正苦于以下问题:C# SWIGTYPE_p_short类的具体用法?C# SWIGTYPE_p_short怎么用?C# SWIGTYPE_p_short使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SWIGTYPE_p_short类属于FreeSWITCH.Native命名空间,在下文中一共展示了SWIGTYPE_p_short类的9个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: switch_short_to_float
public static int switch_short_to_float(SWIGTYPE_p_short s, SWIGTYPE_p_float f, int len)
{
int ret = freeswitchPINVOKE.switch_short_to_float(SWIGTYPE_p_short.getCPtr(s), SWIGTYPE_p_float.getCPtr(f), len);
return ret;
}
示例2: switch_swap_linear
public static void switch_swap_linear(SWIGTYPE_p_short buf, int len)
{
freeswitchPINVOKE.switch_swap_linear(SWIGTYPE_p_short.getCPtr(buf), len);
}
示例3: switch_mux_channels
public static void switch_mux_channels(SWIGTYPE_p_short data, SWIGTYPE_p_switch_size_t samples, uint channels)
{
freeswitchPINVOKE.switch_mux_channels(SWIGTYPE_p_short.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(samples), channels);
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
}
示例4: switch_resample_process
public static uint switch_resample_process(switch_audio_resampler_t resampler, SWIGTYPE_p_short src, uint srclen)
{
uint ret = freeswitchPINVOKE.switch_resample_process(switch_audio_resampler_t.getCPtr(resampler), SWIGTYPE_p_short.getCPtr(src), srclen);
return ret;
}
示例5: switch_merge_sln
public static uint switch_merge_sln(SWIGTYPE_p_short data, uint samples, SWIGTYPE_p_short other_data, uint other_samples)
{
uint ret = freeswitchPINVOKE.switch_merge_sln(SWIGTYPE_p_short.getCPtr(data), samples, SWIGTYPE_p_short.getCPtr(other_data), other_samples);
return ret;
}
示例6: switch_generate_sln_silence
public static void switch_generate_sln_silence(SWIGTYPE_p_short data, uint samples, uint divisor)
{
freeswitchPINVOKE.switch_generate_sln_silence(SWIGTYPE_p_short.getCPtr(data), samples, divisor);
}
示例7: switch_float_to_short
public static SWIGTYPE_p_switch_size_t switch_float_to_short(SWIGTYPE_p_float f, SWIGTYPE_p_short s, SWIGTYPE_p_switch_size_t len)
{
SWIGTYPE_p_switch_size_t ret = new SWIGTYPE_p_switch_size_t(freeswitchPINVOKE.switch_float_to_short(SWIGTYPE_p_float.getCPtr(f), SWIGTYPE_p_short.getCPtr(s), SWIGTYPE_p_switch_size_t.getCPtr(len)), true);
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
return ret;
}
示例8: getCPtr
internal static HandleRef getCPtr(SWIGTYPE_p_short obj)
{
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
示例9: switch_change_sln_volume_granular
public static void switch_change_sln_volume_granular(SWIGTYPE_p_short data, uint samples, int vol)
{
freeswitchPINVOKE.switch_change_sln_volume_granular(SWIGTYPE_p_short.getCPtr(data), samples, vol);
}