本文整理汇总了C#中FreeSWITCH.Native.switch_file_handle类的典型用法代码示例。如果您正苦于以下问题:C# switch_file_handle类的具体用法?C# switch_file_handle怎么用?C# switch_file_handle使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
switch_file_handle类属于FreeSWITCH.Native命名空间,在下文中一共展示了switch_file_handle类的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: switch_ivr_record_file
public static switch_status_t switch_ivr_record_file(SWIGTYPE_p_switch_core_session session, switch_file_handle fh, string file, switch_input_args_t args, uint limit)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_record_file(SWIGTYPE_p_switch_core_session.getCPtr(session), switch_file_handle.getCPtr(fh), file, switch_input_args_t.getCPtr(args), limit);
return ret;
}
示例2: switch_ivr_record_session
public static switch_status_t switch_ivr_record_session(SWIGTYPE_p_switch_core_session session, string file, uint limit, switch_file_handle fh)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_record_session(SWIGTYPE_p_switch_core_session.getCPtr(session), file, limit, switch_file_handle.getCPtr(fh));
return ret;
}
示例3: switch_core_perform_file_open
public static switch_status_t switch_core_perform_file_open(string file, string func, int line, switch_file_handle fh, string file_path, byte channels, uint rate, uint flags, SWIGTYPE_p_apr_pool_t pool)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_perform_file_open(file, func, line, switch_file_handle.getCPtr(fh), file_path, channels, rate, flags, SWIGTYPE_p_apr_pool_t.getCPtr(pool));
return ret;
}
示例4: switch_ivr_process_fh
public static switch_status_t switch_ivr_process_fh(SWIGTYPE_p_switch_core_session session, string cmd, switch_file_handle fhp)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_ivr_process_fh(SWIGTYPE_p_switch_core_session.getCPtr(session), cmd, switch_file_handle.getCPtr(fhp));
return ret;
}
示例5: switch_core_file_write
public static switch_status_t switch_core_file_write(switch_file_handle fh, SWIGTYPE_p_void data, SWIGTYPE_p_switch_size_t len)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_write(switch_file_handle.getCPtr(fh), SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(len));
return ret;
}
示例6: getCPtr
internal static HandleRef getCPtr(switch_file_handle obj)
{
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
示例7: switch_core_file_set_string
public static switch_status_t switch_core_file_set_string(switch_file_handle fh, switch_audio_col_t col, string arg2)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_set_string(switch_file_handle.getCPtr(fh), (int)col, arg2);
return ret;
}
示例8: switch_core_file_truncate
public static switch_status_t switch_core_file_truncate(switch_file_handle fh, long offset)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_truncate(switch_file_handle.getCPtr(fh), offset);
return ret;
}
示例9: switch_core_file_seek
public static switch_status_t switch_core_file_seek(switch_file_handle fh, SWIGTYPE_p_unsigned_int cur_pos, long samples, int whence)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_seek(switch_file_handle.getCPtr(fh), SWIGTYPE_p_unsigned_int.getCPtr(cur_pos), samples, whence);
return ret;
}
示例10: switch_core_file_close
public static switch_status_t switch_core_file_close(switch_file_handle fh)
{
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_close(switch_file_handle.getCPtr(fh));
return ret;
}
示例11: switch_core_file_has_video
public static switch_bool_t switch_core_file_has_video(switch_file_handle fh) {
switch_bool_t ret = (switch_bool_t)freeswitchPINVOKE.switch_core_file_has_video(switch_file_handle.getCPtr(fh));
return ret;
}
示例12: switch_core_file_read_video
public static switch_status_t switch_core_file_read_video(switch_file_handle fh, switch_frame frame, switch_video_read_flag_t flags) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_read_video(switch_file_handle.getCPtr(fh), switch_frame.getCPtr(frame), (int)flags);
return ret;
}
示例13: switch_core_file_write_video
public static switch_status_t switch_core_file_write_video(switch_file_handle fh, switch_frame frame) {
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_file_write_video(switch_file_handle.getCPtr(fh), switch_frame.getCPtr(frame));
return ret;
}