}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_unheld_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_s *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->unheld = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_unheld_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_s *)jarg1;
+ result = (uint32_t) ((arg1)->unheld);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_unheld_in_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_s *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->unheld_in = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_unheld_in_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_s *)jarg1;
+ result = (uint32_t) ((arg1)->unheld_in);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_unheld_out_set(void * jarg1, unsigned long jarg2) {
+ switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_device_stats_s *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->unheld_out = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_device_stats_t_unheld_out_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_device_stats_s *)jarg1;
+ result = (uint32_t) ((arg1)->unheld_out);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_device_stats_t_hup_set(void * jarg1, unsigned long jarg2) {
switch_device_stats_s *arg1 = (switch_device_stats_s *) 0 ;
uint32_t arg2 ;
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_insert(void * jarg1, char * jarg2, void * jarg3) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_hash_insert_destructor(void * jarg1, char * jarg2, void * jarg3, void * jarg4) {
int jresult ;
switch_hash_t *arg1 = (switch_hash_t *) 0 ;
char *arg2 = (char *) 0 ;
void *arg3 = (void *) 0 ;
+ hashtable_destructor_t arg4 = (hashtable_destructor_t) 0 ;
switch_status_t result;
arg1 = (switch_hash_t *)jarg1;
arg2 = (char *)jarg2;
arg3 = (void *)jarg3;
- result = (switch_status_t)switch_core_hash_insert(arg1,(char const *)arg2,(void const *)arg3);
+ arg4 = (hashtable_destructor_t)jarg4;
+ result = (switch_status_t)switch_core_hash_insert_destructor(arg1,(char const *)arg2,(void const *)arg3,arg4);
jresult = result;
return jresult;
}
}
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_speech_open(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4, unsigned int jarg5, void * jarg6, void * jarg7) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_speech_open(void * jarg1, char * jarg2, char * jarg3, unsigned int jarg4, unsigned int jarg5, unsigned int jarg6, void * jarg7, void * jarg8) {
int jresult ;
switch_speech_handle_t *arg1 = (switch_speech_handle_t *) 0 ;
char *arg2 = (char *) 0 ;
char *arg3 = (char *) 0 ;
unsigned int arg4 ;
unsigned int arg5 ;
- switch_speech_flag_t *arg6 = (switch_speech_flag_t *) 0 ;
- switch_memory_pool_t *arg7 = (switch_memory_pool_t *) 0 ;
+ unsigned int arg6 ;
+ switch_speech_flag_t *arg7 = (switch_speech_flag_t *) 0 ;
+ switch_memory_pool_t *arg8 = (switch_memory_pool_t *) 0 ;
switch_status_t result;
arg1 = (switch_speech_handle_t *)jarg1;
arg3 = (char *)jarg3;
arg4 = (unsigned int)jarg4;
arg5 = (unsigned int)jarg5;
- arg6 = (switch_speech_flag_t *)jarg6;
- arg7 = (switch_memory_pool_t *)jarg7;
- result = (switch_status_t)switch_core_speech_open(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7);
+ arg6 = (unsigned int)jarg6;
+ arg7 = (switch_speech_flag_t *)jarg7;
+ arg8 = (switch_memory_pool_t *)jarg8;
+ result = (switch_status_t)switch_core_speech_open(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8);
jresult = result;
return jresult;
}
}
-SWIGEXPORT char * SWIGSTDCALL CSharp_switch_parse_codec_buf(char * jarg1, void * jarg2, void * jarg3, void * jarg4) {
+SWIGEXPORT char * SWIGSTDCALL CSharp_switch_parse_codec_buf(char * jarg1, void * jarg2, void * jarg3, void * jarg4, void * jarg5) {
char * jresult ;
char *arg1 = (char *) 0 ;
uint32_t *arg2 = (uint32_t *) 0 ;
uint32_t *arg3 = (uint32_t *) 0 ;
uint32_t *arg4 = (uint32_t *) 0 ;
+ uint32_t *arg5 = (uint32_t *) 0 ;
char *result = 0 ;
arg1 = (char *)jarg1;
arg2 = (uint32_t *)jarg2;
arg3 = (uint32_t *)jarg3;
arg4 = (uint32_t *)jarg4;
- result = (char *)switch_parse_codec_buf(arg1,arg2,arg3,arg4);
+ arg5 = (uint32_t *)jarg5;
+ result = (char *)switch_parse_codec_buf(arg1,arg2,arg3,arg4,arg5);
jresult = SWIG_csharp_string_callback((const char *)result);
return jresult;
}
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_channels_set(void * jarg1, unsigned long jarg2) {
+ switch_frame *arg1 = (switch_frame *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_frame *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->channels = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_frame_channels_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_frame *arg1 = (switch_frame *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_frame *)jarg1;
+ result = (uint32_t) ((arg1)->channels);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_frame_payload_set(void * jarg1, unsigned char jarg2) {
switch_frame *arg1 = (switch_frame *) 0 ;
switch_payload_t arg2 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_real_channels_set(void * jarg1, unsigned long jarg2) {
+ switch_file_handle *arg1 = (switch_file_handle *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_file_handle *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->real_channels = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_file_handle_real_channels_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_file_handle *arg1 = (switch_file_handle *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_file_handle *)jarg1;
+ result = (uint32_t) ((arg1)->real_channels);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_format_set(void * jarg1, unsigned int jarg2) {
switch_file_handle *arg1 = (switch_file_handle *) 0 ;
unsigned int arg2 ;
SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_interface_speech_open_set(void * jarg1, void * jarg2) {
switch_speech_interface *arg1 = (switch_speech_interface *) 0 ;
- switch_status_t (*arg2)(switch_speech_handle_t *,char const *,int,switch_speech_flag_t *) = (switch_status_t (*)(switch_speech_handle_t *,char const *,int,switch_speech_flag_t *)) 0 ;
+ switch_status_t (*arg2)(switch_speech_handle_t *,char const *,int,int,switch_speech_flag_t *) = (switch_status_t (*)(switch_speech_handle_t *,char const *,int,int,switch_speech_flag_t *)) 0 ;
arg1 = (switch_speech_interface *)jarg1;
- arg2 = (switch_status_t (*)(switch_speech_handle_t *,char const *,int,switch_speech_flag_t *))jarg2;
+ arg2 = (switch_status_t (*)(switch_speech_handle_t *,char const *,int,int,switch_speech_flag_t *))jarg2;
if (arg1) (arg1)->speech_open = arg2;
}
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_speech_interface_speech_open_get(void * jarg1) {
void * jresult ;
switch_speech_interface *arg1 = (switch_speech_interface *) 0 ;
- switch_status_t (*result)(switch_speech_handle_t *,char const *,int,switch_speech_flag_t *) = 0 ;
+ switch_status_t (*result)(switch_speech_handle_t *,char const *,int,int,switch_speech_flag_t *) = 0 ;
arg1 = (switch_speech_interface *)jarg1;
- result = (switch_status_t (*)(switch_speech_handle_t *,char const *,int,switch_speech_flag_t *)) ((arg1)->speech_open);
+ result = (switch_status_t (*)(switch_speech_handle_t *,char const *,int,int,switch_speech_flag_t *)) ((arg1)->speech_open);
jresult = (void *)result;
return jresult;
}
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_channels_set(void * jarg1, unsigned long jarg2) {
+ switch_speech_handle *arg1 = (switch_speech_handle *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_speech_handle *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->channels = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_channels_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_speech_handle *arg1 = (switch_speech_handle *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_speech_handle *)jarg1;
+ result = (uint32_t) ((arg1)->channels);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_real_channels_set(void * jarg1, unsigned long jarg2) {
+ switch_speech_handle *arg1 = (switch_speech_handle *) 0 ;
+ uint32_t arg2 ;
+
+ arg1 = (switch_speech_handle *)jarg1;
+ arg2 = (uint32_t)jarg2;
+ if (arg1) (arg1)->real_channels = arg2;
+}
+
+
+SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_speech_handle_real_channels_get(void * jarg1) {
+ unsigned long jresult ;
+ switch_speech_handle *arg1 = (switch_speech_handle *) 0 ;
+ uint32_t result;
+
+ arg1 = (switch_speech_handle *)jarg1;
+ result = (uint32_t) ((arg1)->real_channels);
+ jresult = (unsigned long)result;
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_speech_handle_voice_set(void * jarg1, char * jarg2) {
switch_speech_handle *arg1 = (switch_speech_handle *) 0 ;
char *arg2 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_stereo_set(void * jarg1, int jarg2) {
+ switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ;
+ int arg2 ;
+
+ arg1 = (switch_codec_fmtp *)jarg1;
+ arg2 = (int)jarg2;
+ if (arg1) (arg1)->stereo = arg2;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_fmtp_stereo_get(void * jarg1) {
+ int jresult ;
+ switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ;
+ int result;
+
+ arg1 = (switch_codec_fmtp *)jarg1;
+ result = (int) ((arg1)->stereo);
+ jresult = result;
+ return jresult;
+}
+
+
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_private_info_set(void * jarg1, void * jarg2) {
switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ;
void *arg2 = (void *) 0 ;
}
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_audio_resampler_t_channels_set(void * jarg1, int jarg2) {
+ switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ;
+ int arg2 ;
+
+ arg1 = (switch_audio_resampler_t *)jarg1;
+ arg2 = (int)jarg2;
+ if (arg1) (arg1)->channels = arg2;
+}
+
+
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_audio_resampler_t_channels_get(void * jarg1) {
+ int jresult ;
+ switch_audio_resampler_t *arg1 = (switch_audio_resampler_t *) 0 ;
+ int result;
+
+ arg1 = (switch_audio_resampler_t *)jarg1;
+ result = (int) ((arg1)->channels);
+ jresult = result;
+ return jresult;
+}
+
+
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_audio_resampler_t() {
void * jresult ;
switch_audio_resampler_t *result = 0 ;
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_generate_sln_silence(void * jarg1, unsigned long jarg2, unsigned long jarg3) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_generate_sln_silence(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4) {
int16_t *arg1 = (int16_t *) 0 ;
uint32_t arg2 ;
uint32_t arg3 ;
+ uint32_t arg4 ;
arg1 = (int16_t *)jarg1;
arg2 = (uint32_t)jarg2;
arg3 = (uint32_t)jarg3;
- switch_generate_sln_silence(arg1,arg2,arg3);
+ arg4 = (uint32_t)jarg4;
+ switch_generate_sln_silence(arg1,arg2,arg3,arg4);
}
}
-SWIGEXPORT void SWIGSTDCALL CSharp_switch_mux_channels(void * jarg1, void * jarg2, unsigned long jarg3) {
+SWIGEXPORT void SWIGSTDCALL CSharp_switch_mux_channels(void * jarg1, void * jarg2, unsigned long jarg3, unsigned long jarg4) {
int16_t *arg1 = (int16_t *) 0 ;
switch_size_t arg2 ;
uint32_t arg3 ;
+ uint32_t arg4 ;
switch_size_t *argp2 ;
arg1 = (int16_t *)jarg1;
}
arg2 = *argp2;
arg3 = (uint32_t)jarg3;
- switch_mux_channels(arg1,arg2,arg3);
+ arg4 = (uint32_t)jarg4;
+ switch_mux_channels(arg1,arg2,arg3,arg4);
}
arg1 = (switch_core_session_t *)jarg1;
arg2 = (char *)jarg2;
arg3 = (char *)jarg3;
- result = (switch_status_t)switch_ivr_detect_speech_load_grammar(arg1,arg2,arg3);
+ result = (switch_status_t)switch_ivr_detect_speech_load_grammar(arg1,(char const *)arg2,(char const *)arg3);
jresult = result;
return jresult;
}
return ret;
}
- public static switch_status_t switch_core_hash_insert(SWIGTYPE_p_switch_hashtable hash, string key, SWIGTYPE_p_void data) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_hash_insert(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key, SWIGTYPE_p_void.getCPtr(data));
+ public static switch_status_t switch_core_hash_insert_destructor(SWIGTYPE_p_switch_hashtable hash, string key, SWIGTYPE_p_void data, SWIGTYPE_p_f_p_void__void destructor) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_hash_insert_destructor(SWIGTYPE_p_switch_hashtable.getCPtr(hash), key, SWIGTYPE_p_void.getCPtr(data), SWIGTYPE_p_f_p_void__void.getCPtr(destructor));
return ret;
}
return ret;
}
- public static switch_status_t switch_core_speech_open(switch_speech_handle sh, string module_name, string voice_name, uint rate, uint interval, SWIGTYPE_p_unsigned_long flags, SWIGTYPE_p_apr_pool_t pool) {
- switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_open(switch_speech_handle.getCPtr(sh), module_name, voice_name, rate, interval, SWIGTYPE_p_unsigned_long.getCPtr(flags), SWIGTYPE_p_apr_pool_t.getCPtr(pool));
+ public static switch_status_t switch_core_speech_open(switch_speech_handle sh, string module_name, string voice_name, uint rate, uint interval, uint channels, SWIGTYPE_p_unsigned_long flags, SWIGTYPE_p_apr_pool_t pool) {
+ switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_speech_open(switch_speech_handle.getCPtr(sh), module_name, voice_name, rate, interval, channels, SWIGTYPE_p_unsigned_long.getCPtr(flags), SWIGTYPE_p_apr_pool_t.getCPtr(pool));
return ret;
}
return ret;
}
- public static string switch_parse_codec_buf(string buf, SWIGTYPE_p_unsigned_long interval, SWIGTYPE_p_unsigned_long rate, SWIGTYPE_p_unsigned_long bit) {
- string ret = freeswitchPINVOKE.switch_parse_codec_buf(buf, SWIGTYPE_p_unsigned_long.getCPtr(interval), SWIGTYPE_p_unsigned_long.getCPtr(rate), SWIGTYPE_p_unsigned_long.getCPtr(bit));
+ public static string switch_parse_codec_buf(string buf, SWIGTYPE_p_unsigned_long interval, SWIGTYPE_p_unsigned_long rate, SWIGTYPE_p_unsigned_long bit, SWIGTYPE_p_unsigned_long channels) {
+ string ret = freeswitchPINVOKE.switch_parse_codec_buf(buf, SWIGTYPE_p_unsigned_long.getCPtr(interval), SWIGTYPE_p_unsigned_long.getCPtr(rate), SWIGTYPE_p_unsigned_long.getCPtr(bit), SWIGTYPE_p_unsigned_long.getCPtr(channels));
return ret;
}
freeswitchPINVOKE.switch_swap_linear(SWIGTYPE_p_short.getCPtr(buf), len);
}
- 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);
+ public static void switch_generate_sln_silence(SWIGTYPE_p_short data, uint samples, uint channels, uint divisor) {
+ freeswitchPINVOKE.switch_generate_sln_silence(SWIGTYPE_p_short.getCPtr(data), samples, channels, divisor);
}
public static void switch_change_sln_volume(SWIGTYPE_p_short data, uint samples, int vol) {
return ret;
}
- 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);
+ public static void switch_mux_channels(SWIGTYPE_p_short data, SWIGTYPE_p_switch_size_t samples, uint orig_channels, uint channels) {
+ freeswitchPINVOKE.switch_mux_channels(SWIGTYPE_p_short.getCPtr(data), SWIGTYPE_p_switch_size_t.getCPtr(samples), orig_channels, channels);
if (freeswitchPINVOKE.SWIGPendingException.Pending) throw freeswitchPINVOKE.SWIGPendingException.Retrieve();
}
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_held_out_get")]
public static extern uint switch_device_stats_t_held_out_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_set")]
+ public static extern void switch_device_stats_t_unheld_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_get")]
+ public static extern uint switch_device_stats_t_unheld_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_in_set")]
+ public static extern void switch_device_stats_t_unheld_in_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_in_get")]
+ public static extern uint switch_device_stats_t_unheld_in_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_out_set")]
+ public static extern void switch_device_stats_t_unheld_out_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_unheld_out_get")]
+ public static extern uint switch_device_stats_t_unheld_out_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_device_stats_t_hup_set")]
public static extern void switch_device_stats_t_hup_set(HandleRef jarg1, uint jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_destroy")]
public static extern int switch_core_hash_destroy(HandleRef jarg1);
- [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_insert")]
- public static extern int switch_core_hash_insert(HandleRef jarg1, string jarg2, HandleRef jarg3);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_insert_destructor")]
+ public static extern int switch_core_hash_insert_destructor(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_hash_insert_locked")]
public static extern int switch_core_hash_insert_locked(HandleRef jarg1, string jarg2, HandleRef jarg3, HandleRef jarg4);
public static extern int switch_core_file_truncate(HandleRef jarg1, long jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_open")]
- public static extern int switch_core_speech_open(HandleRef jarg1, string jarg2, string jarg3, uint jarg4, uint jarg5, HandleRef jarg6, HandleRef jarg7);
+ public static extern int switch_core_speech_open(HandleRef jarg1, string jarg2, string jarg3, uint jarg4, uint jarg5, uint jarg6, HandleRef jarg7, HandleRef jarg8);
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_speech_feed_tts")]
public static extern int switch_core_speech_feed_tts(HandleRef jarg1, string jarg2, HandleRef jarg3);
public static extern IntPtr switch_loadable_module_get_codec_interface(string jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_parse_codec_buf")]
- public static extern string switch_parse_codec_buf(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4);
+ public static extern string switch_parse_codec_buf(string jarg1, HandleRef jarg2, HandleRef jarg3, HandleRef jarg4, HandleRef jarg5);
[DllImport("mod_managed", EntryPoint="CSharp_switch_loadable_module_get_dialplan_interface")]
public static extern IntPtr switch_loadable_module_get_dialplan_interface(string jarg1);
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_rate_get")]
public static extern uint switch_frame_rate_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_channels_set")]
+ public static extern void switch_frame_channels_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_frame_channels_get")]
+ public static extern uint switch_frame_channels_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_frame_payload_set")]
public static extern void switch_frame_payload_set(HandleRef jarg1, byte jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_channels_get")]
public static extern uint switch_file_handle_channels_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_real_channels_set")]
+ public static extern void switch_file_handle_real_channels_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_real_channels_get")]
+ public static extern uint switch_file_handle_real_channels_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_format_set")]
public static extern void switch_file_handle_format_set(HandleRef jarg1, uint jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_samples_get")]
public static extern uint switch_speech_handle_samples_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_channels_set")]
+ public static extern void switch_speech_handle_channels_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_channels_get")]
+ public static extern uint switch_speech_handle_channels_get(HandleRef jarg1);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_real_channels_set")]
+ public static extern void switch_speech_handle_real_channels_set(HandleRef jarg1, uint jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_real_channels_get")]
+ public static extern uint switch_speech_handle_real_channels_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_speech_handle_voice_set")]
public static extern void switch_speech_handle_voice_set(HandleRef jarg1, string jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_microseconds_per_packet_get")]
public static extern int switch_codec_fmtp_microseconds_per_packet_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_stereo_set")]
+ public static extern void switch_codec_fmtp_stereo_set(HandleRef jarg1, int jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_stereo_get")]
+ public static extern int switch_codec_fmtp_stereo_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_private_info_set")]
public static extern void switch_codec_fmtp_private_info_set(HandleRef jarg1, HandleRef jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_to_size_get")]
public static extern uint switch_audio_resampler_t_to_size_get(HandleRef jarg1);
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_channels_set")]
+ public static extern void switch_audio_resampler_t_channels_set(HandleRef jarg1, int jarg2);
+
+ [DllImport("mod_managed", EntryPoint="CSharp_switch_audio_resampler_t_channels_get")]
+ public static extern int switch_audio_resampler_t_channels_get(HandleRef jarg1);
+
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_audio_resampler_t")]
public static extern IntPtr new_switch_audio_resampler_t();
public static extern void switch_swap_linear(HandleRef jarg1, int jarg2);
[DllImport("mod_managed", EntryPoint="CSharp_switch_generate_sln_silence")]
- public static extern void switch_generate_sln_silence(HandleRef jarg1, uint jarg2, uint jarg3);
+ public static extern void switch_generate_sln_silence(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_change_sln_volume")]
public static extern void switch_change_sln_volume(HandleRef jarg1, uint jarg2, int jarg3);
public static extern uint switch_unmerge_sln(HandleRef jarg1, uint jarg2, HandleRef jarg3, uint jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_mux_channels")]
- public static extern void switch_mux_channels(HandleRef jarg1, HandleRef jarg2, uint jarg3);
+ public static extern void switch_mux_channels(HandleRef jarg1, HandleRef jarg2, uint jarg3, uint jarg4);
[DllImport("mod_managed", EntryPoint="CSharp_switch_unicast_conninfo_session_set")]
public static extern void switch_unicast_conninfo_session_set(HandleRef jarg1, HandleRef jarg2);
using System;
using System.Runtime.InteropServices;
-public class SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t {
+public class SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t {
private HandleRef swigCPtr;
- internal SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {
+ internal SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t(IntPtr cPtr, bool futureUse) {
swigCPtr = new HandleRef(this, cPtr);
}
- protected SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t() {
+ protected SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t() {
swigCPtr = new HandleRef(null, IntPtr.Zero);
}
- internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t obj) {
+ internal static HandleRef getCPtr(SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t obj) {
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
}
}
}
}
+ public int channels {
+ set {
+ freeswitchPINVOKE.switch_audio_resampler_t_channels_set(swigCPtr, value);
+ }
+ get {
+ int ret = freeswitchPINVOKE.switch_audio_resampler_t_channels_get(swigCPtr);
+ return ret;
+ }
+ }
+
public switch_audio_resampler_t() : this(freeswitchPINVOKE.new_switch_audio_resampler_t(), true) {
}
CCS_HELD,
CCS_RING_WAIT,
CCS_HANGUP,
- CCS_UNHOLD
+ CCS_UNHELD
}
}
}
}
+ public int stereo {
+ set {
+ freeswitchPINVOKE.switch_codec_fmtp_stereo_set(swigCPtr, value);
+ }
+ get {
+ int ret = freeswitchPINVOKE.switch_codec_fmtp_stereo_get(swigCPtr);
+ return ret;
+ }
+ }
+
public SWIGTYPE_p_void private_info {
set {
freeswitchPINVOKE.switch_codec_fmtp_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value));
SWITCH_MESSAGE_INDICATE_BLIND_TRANSFER_RESPONSE,
SWITCH_MESSAGE_INDICATE_STUN_ERROR,
SWITCH_MESSAGE_INDICATE_MEDIA_RENEG,
+ SWITCH_MESSAGE_INDICATE_KEEPALIVE,
SWITCH_MESSAGE_REFER_EVENT,
SWITCH_MESSAGE_ANSWER_EVENT,
SWITCH_MESSAGE_PROGRESS_EVENT,
SWITCH_MESSAGE_RING_EVENT,
SWITCH_MESSAGE_RESAMPLE_EVENT,
+ SWITCH_MESSAGE_HEARTBEAT_EVENT,
SWITCH_MESSAGE_INVALID
}
SDS_ACTIVE,
SDS_ACTIVE_MULTI,
SDS_HELD,
+ SDS_UNHELD,
SDS_HANGUP
}
}
}
+ public uint unheld {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_unheld_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_unheld_get(swigCPtr);
+ return ret;
+ }
+ }
+
+ public uint unheld_in {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_unheld_in_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_unheld_in_get(swigCPtr);
+ return ret;
+ }
+ }
+
+ public uint unheld_out {
+ set {
+ freeswitchPINVOKE.switch_device_stats_t_unheld_out_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_device_stats_t_unheld_out_get(swigCPtr);
+ return ret;
+ }
+ }
+
public uint hup {
set {
freeswitchPINVOKE.switch_device_stats_t_hup_set(swigCPtr, value);
}
}
+ public uint real_channels {
+ set {
+ freeswitchPINVOKE.switch_file_handle_real_channels_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_file_handle_real_channels_get(swigCPtr);
+ return ret;
+ }
+ }
+
public uint format {
set {
freeswitchPINVOKE.switch_file_handle_format_set(swigCPtr, value);
}
}
+ public uint channels {
+ set {
+ freeswitchPINVOKE.switch_frame_channels_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_frame_channels_get(swigCPtr);
+ return ret;
+ }
+ }
+
public byte payload {
set {
freeswitchPINVOKE.switch_frame_payload_set(swigCPtr, value);
SCSC_DEBUG_LEVEL,
SCSC_FLUSH_DB_HANDLES,
SCSC_SHUTDOWN_NOW,
+ SCSC_REINCARNATE_NOW,
SCSC_CALIBRATE_CLOCK,
SCSC_SAVE_HISTORY,
SCSC_CRASH,
}
}
+ public uint channels {
+ set {
+ freeswitchPINVOKE.switch_speech_handle_channels_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_speech_handle_channels_get(swigCPtr);
+ return ret;
+ }
+ }
+
+ public uint real_channels {
+ set {
+ freeswitchPINVOKE.switch_speech_handle_real_channels_set(swigCPtr, value);
+ }
+ get {
+ uint ret = freeswitchPINVOKE.switch_speech_handle_real_channels_get(swigCPtr);
+ return ret;
+ }
+ }
+
public string voice {
set {
freeswitchPINVOKE.switch_speech_handle_voice_set(swigCPtr, value);
}
}
- public SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t speech_open {
+ public SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t speech_open {
set {
- freeswitchPINVOKE.switch_speech_interface_speech_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t.getCPtr(value));
+ freeswitchPINVOKE.switch_speech_interface_speech_open_set(swigCPtr, SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t.getCPtr(value));
}
get {
IntPtr cPtr = freeswitchPINVOKE.switch_speech_interface_speech_open_get(swigCPtr);
- SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_p_unsigned_long__switch_status_t(cPtr, false);
+ SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_switch_speech_handle_p_q_const__char_int_int_p_unsigned_long__switch_status_t(cPtr, false);
return ret;
}
}