Exemplo n.º 1
0
 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;
 }
Exemplo n.º 2
0
 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;
 }
Exemplo n.º 3
0
 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;
 }
Exemplo n.º 4
0
 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;
 }
Exemplo n.º 5
0
 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;
 }
Exemplo n.º 6
0
 internal static HandleRef getCPtr(switch_file_handle obj)
 {
     return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
 }
Exemplo n.º 7
0
 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;
 }
Exemplo n.º 8
0
 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;
 }
Exemplo n.º 9
0
 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;
 }
Exemplo n.º 10
0
 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;
 }
Exemplo n.º 11
0
 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;
 }
Exemplo n.º 12
0
 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;
 }
Exemplo n.º 13
0
 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;
 }