From ea05cb22bb84cbf005ce90403d369d17617379cc Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 23 May 2017 12:42:43 -0500 Subject: [PATCH] reswig --- .../languages/mod_managed/freeswitch_wrap.cxx | 942 +++++++++--------- src/mod/languages/mod_managed/managed/swig.cs | 260 ++--- 2 files changed, 619 insertions(+), 583 deletions(-) diff --git a/src/mod/languages/mod_managed/freeswitch_wrap.cxx b/src/mod/languages/mod_managed/freeswitch_wrap.cxx index 72118edb73..08f24ac8a0 100644 --- a/src/mod/languages/mod_managed/freeswitch_wrap.cxx +++ b/src/mod/languages/mod_managed/freeswitch_wrap.cxx @@ -7268,6 +7268,464 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_waitlist_t(void * jarg1) { } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_samplerate_set(void * jarg1, int jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int arg2 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->samplerate = arg2; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_samplerate_get(void * jarg1) { + int jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int result; + + arg1 = (switch_mm_s *)jarg1; + result = (int) ((arg1)->samplerate); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_channels_set(void * jarg1, int jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int arg2 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->channels = arg2; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_channels_get(void * jarg1) { + int jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int result; + + arg1 = (switch_mm_s *)jarg1; + result = (int) ((arg1)->channels); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_keyint_set(void * jarg1, int jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int arg2 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->keyint = arg2; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_keyint_get(void * jarg1) { + int jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int result; + + arg1 = (switch_mm_s *)jarg1; + result = (int) ((arg1)->keyint); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_ab_set(void * jarg1, int jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int arg2 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->ab = arg2; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_ab_get(void * jarg1) { + int jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int result; + + arg1 = (switch_mm_s *)jarg1; + result = (int) ((arg1)->ab); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vb_set(void * jarg1, int jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int arg2 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->vb = arg2; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vb_get(void * jarg1) { + int jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int result; + + arg1 = (switch_mm_s *)jarg1; + result = (int) ((arg1)->vb); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vw_set(void * jarg1, int jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int arg2 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->vw = arg2; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vw_get(void * jarg1) { + int jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int result; + + arg1 = (switch_mm_s *)jarg1; + result = (int) ((arg1)->vw); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vh_set(void * jarg1, int jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int arg2 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->vh = arg2; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vh_get(void * jarg1) { + int jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int result; + + arg1 = (switch_mm_s *)jarg1; + result = (int) ((arg1)->vh); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_cbr_set(void * jarg1, int jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int arg2 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->cbr = arg2; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_cbr_get(void * jarg1) { + int jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int result; + + arg1 = (switch_mm_s *)jarg1; + result = (int) ((arg1)->cbr); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_fps_set(void * jarg1, float jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + float arg2 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (float)jarg2; + if (arg1) (arg1)->fps = arg2; +} + + +SWIGEXPORT float SWIGSTDCALL CSharp_switch_mm_t_fps_get(void * jarg1) { + float jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + float result; + + arg1 = (switch_mm_s *)jarg1; + result = (float) ((arg1)->fps); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_source_fps_set(void * jarg1, float jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + float arg2 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (float)jarg2; + if (arg1) (arg1)->source_fps = arg2; +} + + +SWIGEXPORT float SWIGSTDCALL CSharp_switch_mm_t_source_fps_get(void * jarg1) { + float jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + float result; + + arg1 = (switch_mm_s *)jarg1; + result = (float) ((arg1)->source_fps); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vbuf_set(void * jarg1, int jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int arg2 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->vbuf = arg2; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vbuf_get(void * jarg1) { + int jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int result; + + arg1 = (switch_mm_s *)jarg1; + result = (int) ((arg1)->vbuf); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vprofile_set(void * jarg1, int jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + switch_video_profile_t arg2 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (switch_video_profile_t)jarg2; + if (arg1) (arg1)->vprofile = arg2; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vprofile_get(void * jarg1) { + int jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + switch_video_profile_t result; + + arg1 = (switch_mm_s *)jarg1; + result = (switch_video_profile_t) ((arg1)->vprofile); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vencspd_set(void * jarg1, int jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + switch_video_encode_speed_t arg2 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (switch_video_encode_speed_t)jarg2; + if (arg1) (arg1)->vencspd = arg2; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vencspd_get(void * jarg1) { + int jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + switch_video_encode_speed_t result; + + arg1 = (switch_mm_s *)jarg1; + result = (switch_video_encode_speed_t) ((arg1)->vencspd); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_try_hardware_encoder_set(void * jarg1, unsigned char jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + uint8_t arg2 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (uint8_t)jarg2; + if (arg1) (arg1)->try_hardware_encoder = arg2; +} + + +SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_mm_t_try_hardware_encoder_get(void * jarg1) { + unsigned char jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + uint8_t result; + + arg1 = (switch_mm_s *)jarg1; + result = (uint8_t) ((arg1)->try_hardware_encoder); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_scale_w_set(void * jarg1, int jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int arg2 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->scale_w = arg2; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_scale_w_get(void * jarg1) { + int jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int result; + + arg1 = (switch_mm_s *)jarg1; + result = (int) ((arg1)->scale_w); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_scale_h_set(void * jarg1, int jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int arg2 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (int)jarg2; + if (arg1) (arg1)->scale_h = arg2; +} + + +SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_scale_h_get(void * jarg1) { + int jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + int result; + + arg1 = (switch_mm_s *)jarg1; + result = (int) ((arg1)->scale_h); + jresult = result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_fmt_set(void * jarg1, void * jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + switch_img_fmt_t arg2 ; + switch_img_fmt_t *argp2 ; + + arg1 = (switch_mm_s *)jarg1; + argp2 = (switch_img_fmt_t *)jarg2; + if (!argp2) { + SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_img_fmt_t", 0); + return ; + } + arg2 = *argp2; + if (arg1) (arg1)->fmt = arg2; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_switch_mm_t_fmt_get(void * jarg1) { + void * jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + switch_img_fmt_t result; + + arg1 = (switch_mm_s *)jarg1; + result = ((arg1)->fmt); + jresult = new switch_img_fmt_t((const switch_img_fmt_t &)result); + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_auth_username_set(void * jarg1, char * jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + char *arg2 = (char *) 0 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (char *)jarg2; + { + delete [] arg1->auth_username; + if (arg2) { + arg1->auth_username = (char *) (new char[strlen((const char *)arg2)+1]); + strcpy((char *)arg1->auth_username, (const char *)arg2); + } else { + arg1->auth_username = 0; + } + } +} + + +SWIGEXPORT char * SWIGSTDCALL CSharp_switch_mm_t_auth_username_get(void * jarg1) { + char * jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + char *result = 0 ; + + arg1 = (switch_mm_s *)jarg1; + result = (char *) ((arg1)->auth_username); + jresult = SWIG_csharp_string_callback((const char *)result); + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_auth_password_set(void * jarg1, char * jarg2) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + char *arg2 = (char *) 0 ; + + arg1 = (switch_mm_s *)jarg1; + arg2 = (char *)jarg2; + { + delete [] arg1->auth_password; + if (arg2) { + arg1->auth_password = (char *) (new char[strlen((const char *)arg2)+1]); + strcpy((char *)arg1->auth_password, (const char *)arg2); + } else { + arg1->auth_password = 0; + } + } +} + + +SWIGEXPORT char * SWIGSTDCALL CSharp_switch_mm_t_auth_password_get(void * jarg1) { + char * jresult ; + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + char *result = 0 ; + + arg1 = (switch_mm_s *)jarg1; + result = (char *) ((arg1)->auth_password); + jresult = SWIG_csharp_string_callback((const char *)result); + return jresult; +} + + +SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_mm_t() { + void * jresult ; + switch_mm_s *result = 0 ; + + result = (switch_mm_s *)new switch_mm_s(); + jresult = (void *)result; + return jresult; +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_mm_t(void * jarg1) { + switch_mm_s *arg1 = (switch_mm_s *) 0 ; + + arg1 = (switch_mm_s *)jarg1; + delete arg1; +} + + SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_db_close(void * jarg1) { int jresult ; switch_core_db_t *arg1 = (switch_core_db_t *) 0 ; @@ -11054,6 +11512,26 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_core_media_bug_get_session(void * ja } +SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_set_media_params(void * jarg1, void * jarg2) { + switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; + switch_mm_t *arg2 = (switch_mm_t *) 0 ; + + arg1 = (switch_media_bug_t *)jarg1; + arg2 = (switch_mm_t *)jarg2; + switch_core_media_bug_set_media_params(arg1,arg2); +} + + +SWIGEXPORT void SWIGSTDCALL CSharp_switch_core_media_bug_get_media_params(void * jarg1, void * jarg2) { + switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; + switch_mm_t *arg2 = (switch_mm_t *) 0 ; + + arg1 = (switch_media_bug_t *)jarg1; + arg2 = (switch_mm_t *)jarg2; + switch_core_media_bug_get_media_params(arg1,arg2); +} + + SWIGEXPORT char * SWIGSTDCALL CSharp_switch_core_media_bug_get_text(void * jarg1) { char * jresult ; switch_media_bug_t *arg1 = (switch_media_bug_t *) 0 ; @@ -11168,13 +11646,15 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_remove_callback(void * j } -SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_close(void * jarg1) { +SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_media_bug_close(void * jarg1, int jarg2) { int jresult ; switch_media_bug_t **arg1 = (switch_media_bug_t **) 0 ; + switch_bool_t arg2 ; switch_status_t result; arg1 = (switch_media_bug_t **)jarg1; - result = (switch_status_t)switch_core_media_bug_close(arg1); + arg2 = (switch_bool_t)jarg2; + result = (switch_status_t)switch_core_media_bug_close(arg1,arg2); jresult = result; return jresult; } @@ -25807,464 +26287,6 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_file_interface(void * jarg1) { } -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_samplerate_set(void * jarg1, int jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int arg2 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->samplerate = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_samplerate_get(void * jarg1) { - int jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int result; - - arg1 = (switch_mm_s *)jarg1; - result = (int) ((arg1)->samplerate); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_channels_set(void * jarg1, int jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int arg2 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->channels = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_channels_get(void * jarg1) { - int jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int result; - - arg1 = (switch_mm_s *)jarg1; - result = (int) ((arg1)->channels); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_keyint_set(void * jarg1, int jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int arg2 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->keyint = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_keyint_get(void * jarg1) { - int jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int result; - - arg1 = (switch_mm_s *)jarg1; - result = (int) ((arg1)->keyint); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_ab_set(void * jarg1, int jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int arg2 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->ab = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_ab_get(void * jarg1) { - int jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int result; - - arg1 = (switch_mm_s *)jarg1; - result = (int) ((arg1)->ab); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vb_set(void * jarg1, int jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int arg2 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->vb = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vb_get(void * jarg1) { - int jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int result; - - arg1 = (switch_mm_s *)jarg1; - result = (int) ((arg1)->vb); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vw_set(void * jarg1, int jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int arg2 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->vw = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vw_get(void * jarg1) { - int jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int result; - - arg1 = (switch_mm_s *)jarg1; - result = (int) ((arg1)->vw); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vh_set(void * jarg1, int jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int arg2 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->vh = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vh_get(void * jarg1) { - int jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int result; - - arg1 = (switch_mm_s *)jarg1; - result = (int) ((arg1)->vh); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_cbr_set(void * jarg1, int jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int arg2 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->cbr = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_cbr_get(void * jarg1) { - int jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int result; - - arg1 = (switch_mm_s *)jarg1; - result = (int) ((arg1)->cbr); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_fps_set(void * jarg1, float jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - float arg2 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->fps = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_switch_mm_t_fps_get(void * jarg1) { - float jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - float result; - - arg1 = (switch_mm_s *)jarg1; - result = (float) ((arg1)->fps); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_source_fps_set(void * jarg1, float jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - float arg2 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (float)jarg2; - if (arg1) (arg1)->source_fps = arg2; -} - - -SWIGEXPORT float SWIGSTDCALL CSharp_switch_mm_t_source_fps_get(void * jarg1) { - float jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - float result; - - arg1 = (switch_mm_s *)jarg1; - result = (float) ((arg1)->source_fps); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vbuf_set(void * jarg1, int jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int arg2 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->vbuf = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vbuf_get(void * jarg1) { - int jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int result; - - arg1 = (switch_mm_s *)jarg1; - result = (int) ((arg1)->vbuf); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vprofile_set(void * jarg1, int jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - switch_video_profile_t arg2 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (switch_video_profile_t)jarg2; - if (arg1) (arg1)->vprofile = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vprofile_get(void * jarg1) { - int jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - switch_video_profile_t result; - - arg1 = (switch_mm_s *)jarg1; - result = (switch_video_profile_t) ((arg1)->vprofile); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_vencspd_set(void * jarg1, int jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - switch_video_encode_speed_t arg2 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (switch_video_encode_speed_t)jarg2; - if (arg1) (arg1)->vencspd = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_vencspd_get(void * jarg1) { - int jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - switch_video_encode_speed_t result; - - arg1 = (switch_mm_s *)jarg1; - result = (switch_video_encode_speed_t) ((arg1)->vencspd); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_try_hardware_encoder_set(void * jarg1, unsigned char jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - uint8_t arg2 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (uint8_t)jarg2; - if (arg1) (arg1)->try_hardware_encoder = arg2; -} - - -SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_mm_t_try_hardware_encoder_get(void * jarg1) { - unsigned char jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - uint8_t result; - - arg1 = (switch_mm_s *)jarg1; - result = (uint8_t) ((arg1)->try_hardware_encoder); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_scale_w_set(void * jarg1, int jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int arg2 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->scale_w = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_scale_w_get(void * jarg1) { - int jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int result; - - arg1 = (switch_mm_s *)jarg1; - result = (int) ((arg1)->scale_w); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_scale_h_set(void * jarg1, int jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int arg2 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (int)jarg2; - if (arg1) (arg1)->scale_h = arg2; -} - - -SWIGEXPORT int SWIGSTDCALL CSharp_switch_mm_t_scale_h_get(void * jarg1) { - int jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - int result; - - arg1 = (switch_mm_s *)jarg1; - result = (int) ((arg1)->scale_h); - jresult = result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_fmt_set(void * jarg1, void * jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - switch_img_fmt_t arg2 ; - switch_img_fmt_t *argp2 ; - - arg1 = (switch_mm_s *)jarg1; - argp2 = (switch_img_fmt_t *)jarg2; - if (!argp2) { - SWIG_CSharpSetPendingExceptionArgument(SWIG_CSharpArgumentNullException, "Attempt to dereference null switch_img_fmt_t", 0); - return ; - } - arg2 = *argp2; - if (arg1) (arg1)->fmt = arg2; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_switch_mm_t_fmt_get(void * jarg1) { - void * jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - switch_img_fmt_t result; - - arg1 = (switch_mm_s *)jarg1; - result = ((arg1)->fmt); - jresult = new switch_img_fmt_t((const switch_img_fmt_t &)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_auth_username_set(void * jarg1, char * jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (char *)jarg2; - { - delete [] arg1->auth_username; - if (arg2) { - arg1->auth_username = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->auth_username, (const char *)arg2); - } else { - arg1->auth_username = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_mm_t_auth_username_get(void * jarg1) { - char * jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - char *result = 0 ; - - arg1 = (switch_mm_s *)jarg1; - result = (char *) ((arg1)->auth_username); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_switch_mm_t_auth_password_set(void * jarg1, char * jarg2) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - char *arg2 = (char *) 0 ; - - arg1 = (switch_mm_s *)jarg1; - arg2 = (char *)jarg2; - { - delete [] arg1->auth_password; - if (arg2) { - arg1->auth_password = (char *) (new char[strlen((const char *)arg2)+1]); - strcpy((char *)arg1->auth_password, (const char *)arg2); - } else { - arg1->auth_password = 0; - } - } -} - - -SWIGEXPORT char * SWIGSTDCALL CSharp_switch_mm_t_auth_password_get(void * jarg1) { - char * jresult ; - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - char *result = 0 ; - - arg1 = (switch_mm_s *)jarg1; - result = (char *) ((arg1)->auth_password); - jresult = SWIG_csharp_string_callback((const char *)result); - return jresult; -} - - -SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_mm_t() { - void * jresult ; - switch_mm_s *result = 0 ; - - result = (switch_mm_s *)new switch_mm_s(); - jresult = (void *)result; - return jresult; -} - - -SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_mm_t(void * jarg1) { - switch_mm_s *arg1 = (switch_mm_s *) 0 ; - - arg1 = (switch_mm_s *)jarg1; - delete arg1; -} - - SWIGEXPORT void SWIGSTDCALL CSharp_switch_file_handle_file_interface_set(void * jarg1, void * jarg2) { switch_file_handle *arg1 = (switch_file_handle *) 0 ; switch_file_interface_t *arg2 = (switch_file_interface_t *) 0 ; diff --git a/src/mod/languages/mod_managed/managed/swig.cs b/src/mod/languages/mod_managed/managed/swig.cs index b89f31e131..fdc5ae318e 100644 --- a/src/mod/languages/mod_managed/managed/swig.cs +++ b/src/mod/languages/mod_managed/managed/swig.cs @@ -1381,6 +1381,14 @@ else return ret; } + public static void switch_core_media_bug_set_media_params(SWIGTYPE_p_switch_media_bug bug, switch_mm_t mm) { + freeswitchPINVOKE.switch_core_media_bug_set_media_params(SWIGTYPE_p_switch_media_bug.getCPtr(bug), switch_mm_t.getCPtr(mm)); + } + + public static void switch_core_media_bug_get_media_params(SWIGTYPE_p_switch_media_bug bug, switch_mm_t mm) { + freeswitchPINVOKE.switch_core_media_bug_get_media_params(SWIGTYPE_p_switch_media_bug.getCPtr(bug), switch_mm_t.getCPtr(mm)); + } + public static string switch_core_media_bug_get_text(SWIGTYPE_p_switch_media_bug bug) { string ret = freeswitchPINVOKE.switch_core_media_bug_get_text(SWIGTYPE_p_switch_media_bug.getCPtr(bug)); return ret; @@ -1425,8 +1433,8 @@ else return ret; } - public static switch_status_t switch_core_media_bug_close(SWIGTYPE_p_p_switch_media_bug bug) { - switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_close(SWIGTYPE_p_p_switch_media_bug.getCPtr(bug)); + public static switch_status_t switch_core_media_bug_close(SWIGTYPE_p_p_switch_media_bug bug, switch_bool_t destroy) { + switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_media_bug_close(SWIGTYPE_p_p_switch_media_bug.getCPtr(bug), (int)destroy); return ret; } @@ -9972,6 +9980,126 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_waitlist_t")] public static extern void delete_switch_waitlist_t(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_samplerate_set")] + public static extern void switch_mm_t_samplerate_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_samplerate_get")] + public static extern int switch_mm_t_samplerate_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_channels_set")] + public static extern void switch_mm_t_channels_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_channels_get")] + public static extern int switch_mm_t_channels_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_keyint_set")] + public static extern void switch_mm_t_keyint_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_keyint_get")] + public static extern int switch_mm_t_keyint_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_ab_set")] + public static extern void switch_mm_t_ab_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_ab_get")] + public static extern int switch_mm_t_ab_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vb_set")] + public static extern void switch_mm_t_vb_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vb_get")] + public static extern int switch_mm_t_vb_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vw_set")] + public static extern void switch_mm_t_vw_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vw_get")] + public static extern int switch_mm_t_vw_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vh_set")] + public static extern void switch_mm_t_vh_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vh_get")] + public static extern int switch_mm_t_vh_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_cbr_set")] + public static extern void switch_mm_t_cbr_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_cbr_get")] + public static extern int switch_mm_t_cbr_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_fps_set")] + public static extern void switch_mm_t_fps_set(HandleRef jarg1, float jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_fps_get")] + public static extern float switch_mm_t_fps_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_source_fps_set")] + public static extern void switch_mm_t_source_fps_set(HandleRef jarg1, float jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_source_fps_get")] + public static extern float switch_mm_t_source_fps_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vbuf_set")] + public static extern void switch_mm_t_vbuf_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vbuf_get")] + public static extern int switch_mm_t_vbuf_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vprofile_set")] + public static extern void switch_mm_t_vprofile_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vprofile_get")] + public static extern int switch_mm_t_vprofile_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vencspd_set")] + public static extern void switch_mm_t_vencspd_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vencspd_get")] + public static extern int switch_mm_t_vencspd_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_try_hardware_encoder_set")] + public static extern void switch_mm_t_try_hardware_encoder_set(HandleRef jarg1, byte jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_try_hardware_encoder_get")] + public static extern byte switch_mm_t_try_hardware_encoder_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_scale_w_set")] + public static extern void switch_mm_t_scale_w_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_scale_w_get")] + public static extern int switch_mm_t_scale_w_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_scale_h_set")] + public static extern void switch_mm_t_scale_h_set(HandleRef jarg1, int jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_scale_h_get")] + public static extern int switch_mm_t_scale_h_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_fmt_set")] + public static extern void switch_mm_t_fmt_set(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_fmt_get")] + public static extern IntPtr switch_mm_t_fmt_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_auth_username_set")] + public static extern void switch_mm_t_auth_username_set(HandleRef jarg1, string jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_auth_username_get")] + public static extern string switch_mm_t_auth_username_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_auth_password_set")] + public static extern void switch_mm_t_auth_password_set(HandleRef jarg1, string jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_auth_password_get")] + public static extern string switch_mm_t_auth_password_get(HandleRef jarg1); + + [DllImport("mod_managed", EntryPoint="CSharp_new_switch_mm_t")] + public static extern IntPtr new_switch_mm_t(); + + [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_mm_t")] + public static extern void delete_switch_mm_t(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_core_db_close")] public static extern int switch_core_db_close(HandleRef jarg1); @@ -10920,6 +11048,12 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_session")] public static extern IntPtr switch_core_media_bug_get_session(HandleRef jarg1); + [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_set_media_params")] + public static extern void switch_core_media_bug_set_media_params(HandleRef jarg1, HandleRef jarg2); + + [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_media_params")] + public static extern void switch_core_media_bug_get_media_params(HandleRef jarg1, HandleRef jarg2); + [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_get_text")] public static extern string switch_core_media_bug_get_text(HandleRef jarg1); @@ -10948,7 +11082,7 @@ class freeswitchPINVOKE { public static extern int switch_core_media_bug_remove_callback(HandleRef jarg1, HandleRef jarg2); [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_close")] - public static extern int switch_core_media_bug_close(HandleRef jarg1); + public static extern int switch_core_media_bug_close(HandleRef jarg1, int jarg2); [DllImport("mod_managed", EntryPoint="CSharp_switch_core_media_bug_remove_all_function")] public static extern int switch_core_media_bug_remove_all_function(HandleRef jarg1, string jarg2); @@ -14376,126 +14510,6 @@ class freeswitchPINVOKE { [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_file_interface")] public static extern void delete_switch_file_interface(HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_samplerate_set")] - public static extern void switch_mm_t_samplerate_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_samplerate_get")] - public static extern int switch_mm_t_samplerate_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_channels_set")] - public static extern void switch_mm_t_channels_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_channels_get")] - public static extern int switch_mm_t_channels_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_keyint_set")] - public static extern void switch_mm_t_keyint_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_keyint_get")] - public static extern int switch_mm_t_keyint_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_ab_set")] - public static extern void switch_mm_t_ab_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_ab_get")] - public static extern int switch_mm_t_ab_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vb_set")] - public static extern void switch_mm_t_vb_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vb_get")] - public static extern int switch_mm_t_vb_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vw_set")] - public static extern void switch_mm_t_vw_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vw_get")] - public static extern int switch_mm_t_vw_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vh_set")] - public static extern void switch_mm_t_vh_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vh_get")] - public static extern int switch_mm_t_vh_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_cbr_set")] - public static extern void switch_mm_t_cbr_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_cbr_get")] - public static extern int switch_mm_t_cbr_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_fps_set")] - public static extern void switch_mm_t_fps_set(HandleRef jarg1, float jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_fps_get")] - public static extern float switch_mm_t_fps_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_source_fps_set")] - public static extern void switch_mm_t_source_fps_set(HandleRef jarg1, float jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_source_fps_get")] - public static extern float switch_mm_t_source_fps_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vbuf_set")] - public static extern void switch_mm_t_vbuf_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vbuf_get")] - public static extern int switch_mm_t_vbuf_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vprofile_set")] - public static extern void switch_mm_t_vprofile_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vprofile_get")] - public static extern int switch_mm_t_vprofile_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vencspd_set")] - public static extern void switch_mm_t_vencspd_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_vencspd_get")] - public static extern int switch_mm_t_vencspd_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_try_hardware_encoder_set")] - public static extern void switch_mm_t_try_hardware_encoder_set(HandleRef jarg1, byte jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_try_hardware_encoder_get")] - public static extern byte switch_mm_t_try_hardware_encoder_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_scale_w_set")] - public static extern void switch_mm_t_scale_w_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_scale_w_get")] - public static extern int switch_mm_t_scale_w_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_scale_h_set")] - public static extern void switch_mm_t_scale_h_set(HandleRef jarg1, int jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_scale_h_get")] - public static extern int switch_mm_t_scale_h_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_fmt_set")] - public static extern void switch_mm_t_fmt_set(HandleRef jarg1, HandleRef jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_fmt_get")] - public static extern IntPtr switch_mm_t_fmt_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_auth_username_set")] - public static extern void switch_mm_t_auth_username_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_auth_username_get")] - public static extern string switch_mm_t_auth_username_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_auth_password_set")] - public static extern void switch_mm_t_auth_password_set(HandleRef jarg1, string jarg2); - - [DllImport("mod_managed", EntryPoint="CSharp_switch_mm_t_auth_password_get")] - public static extern string switch_mm_t_auth_password_get(HandleRef jarg1); - - [DllImport("mod_managed", EntryPoint="CSharp_new_switch_mm_t")] - public static extern IntPtr new_switch_mm_t(); - - [DllImport("mod_managed", EntryPoint="CSharp_delete_switch_mm_t")] - public static extern void delete_switch_mm_t(HandleRef jarg1); - [DllImport("mod_managed", EntryPoint="CSharp_switch_file_handle_file_interface_set")] public static extern void switch_file_handle_file_interface_set(HandleRef jarg1, HandleRef jarg2);