mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-13 12:40:17 +00:00
swigall
This commit is contained in:
parent
c87b60278e
commit
48a9e9a5ac
@ -213,12 +213,12 @@ public class CoreSession {
|
|||||||
return freeswitchJNI.CoreSession_transfer(swigCPtr, this, extension, dialplan, context);
|
return freeswitchJNI.CoreSession_transfer(swigCPtr, this, extension, dialplan, context);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String read(int min_digits, int max_digits, String prompt_audio_file, int timeout, String valid_terminators) {
|
public String read(int min_digits, int max_digits, String prompt_audio_file, int timeout, String valid_terminators, int digit_timeout) {
|
||||||
return freeswitchJNI.CoreSession_read(swigCPtr, this, min_digits, max_digits, prompt_audio_file, timeout, valid_terminators);
|
return freeswitchJNI.CoreSession_read(swigCPtr, this, min_digits, max_digits, prompt_audio_file, timeout, valid_terminators, digit_timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
public String playAndGetDigits(int min_digits, int max_digits, int max_tries, int timeout, String terminators, String audio_files, String bad_input_audio_files, String digits_regex, String var_name) {
|
public String playAndGetDigits(int min_digits, int max_digits, int max_tries, int timeout, String terminators, String audio_files, String bad_input_audio_files, String digits_regex, String var_name, int digit_timeout) {
|
||||||
return freeswitchJNI.CoreSession_playAndGetDigits(swigCPtr, this, min_digits, max_digits, max_tries, timeout, terminators, audio_files, bad_input_audio_files, digits_regex, var_name);
|
return freeswitchJNI.CoreSession_playAndGetDigits(swigCPtr, this, min_digits, max_digits, max_tries, timeout, terminators, audio_files, bad_input_audio_files, digits_regex, var_name, digit_timeout);
|
||||||
}
|
}
|
||||||
|
|
||||||
public int streamFile(String file, int starting_sample_count) {
|
public int streamFile(String file, int starting_sample_count) {
|
||||||
|
@ -125,8 +125,8 @@ class freeswitchJNI {
|
|||||||
public final static native String CoreSession_getDigits__SWIG_0(long jarg1, CoreSession jarg1_, int jarg2, String jarg3, int jarg4);
|
public final static native String CoreSession_getDigits__SWIG_0(long jarg1, CoreSession jarg1_, int jarg2, String jarg3, int jarg4);
|
||||||
public final static native String CoreSession_getDigits__SWIG_1(long jarg1, CoreSession jarg1_, int jarg2, String jarg3, int jarg4, int jarg5);
|
public final static native String CoreSession_getDigits__SWIG_1(long jarg1, CoreSession jarg1_, int jarg2, String jarg3, int jarg4, int jarg5);
|
||||||
public final static native int CoreSession_transfer(long jarg1, CoreSession jarg1_, String jarg2, String jarg3, String jarg4);
|
public final static native int CoreSession_transfer(long jarg1, CoreSession jarg1_, String jarg2, String jarg3, String jarg4);
|
||||||
public final static native String CoreSession_read(long jarg1, CoreSession jarg1_, int jarg2, int jarg3, String jarg4, int jarg5, String jarg6);
|
public final static native String CoreSession_read(long jarg1, CoreSession jarg1_, int jarg2, int jarg3, String jarg4, int jarg5, String jarg6, int jarg7);
|
||||||
public final static native String CoreSession_playAndGetDigits(long jarg1, CoreSession jarg1_, int jarg2, int jarg3, int jarg4, int jarg5, String jarg6, String jarg7, String jarg8, String jarg9, String jarg10);
|
public final static native String CoreSession_playAndGetDigits(long jarg1, CoreSession jarg1_, int jarg2, int jarg3, int jarg4, int jarg5, String jarg6, String jarg7, String jarg8, String jarg9, String jarg10, int jarg11);
|
||||||
public final static native int CoreSession_streamFile(long jarg1, CoreSession jarg1_, String jarg2, int jarg3);
|
public final static native int CoreSession_streamFile(long jarg1, CoreSession jarg1_, String jarg2, int jarg3);
|
||||||
public final static native int CoreSession_sleep(long jarg1, CoreSession jarg1_, int jarg2, int jarg3);
|
public final static native int CoreSession_sleep(long jarg1, CoreSession jarg1_, int jarg2, int jarg3);
|
||||||
public final static native int CoreSession_flushEvents(long jarg1, CoreSession jarg1_);
|
public final static native int CoreSession_flushEvents(long jarg1, CoreSession jarg1_);
|
||||||
|
@ -2405,7 +2405,7 @@ SWIGEXPORT jint JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1tran
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1read(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jstring jarg4, jint jarg5, jstring jarg6) {
|
SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1read(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jstring jarg4, jint jarg5, jstring jarg6, jint jarg7) {
|
||||||
jstring jresult = 0 ;
|
jstring jresult = 0 ;
|
||||||
CoreSession *arg1 = (CoreSession *) 0 ;
|
CoreSession *arg1 = (CoreSession *) 0 ;
|
||||||
int arg2 ;
|
int arg2 ;
|
||||||
@ -2413,6 +2413,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1r
|
|||||||
char *arg4 = (char *) 0 ;
|
char *arg4 = (char *) 0 ;
|
||||||
int arg5 ;
|
int arg5 ;
|
||||||
char *arg6 = (char *) 0 ;
|
char *arg6 = (char *) 0 ;
|
||||||
|
int arg7 = (int) 0 ;
|
||||||
char *result = 0 ;
|
char *result = 0 ;
|
||||||
|
|
||||||
(void)jenv;
|
(void)jenv;
|
||||||
@ -2432,7 +2433,8 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1r
|
|||||||
arg6 = (char *)jenv->GetStringUTFChars(jarg6, 0);
|
arg6 = (char *)jenv->GetStringUTFChars(jarg6, 0);
|
||||||
if (!arg6) return 0;
|
if (!arg6) return 0;
|
||||||
}
|
}
|
||||||
result = (char *)(arg1)->read(arg2,arg3,(char const *)arg4,arg5,(char const *)arg6);
|
arg7 = (int)jarg7;
|
||||||
|
result = (char *)(arg1)->read(arg2,arg3,(char const *)arg4,arg5,(char const *)arg6,arg7);
|
||||||
if(result) jresult = jenv->NewStringUTF((const char *)result);
|
if(result) jresult = jenv->NewStringUTF((const char *)result);
|
||||||
if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
|
if (arg4) jenv->ReleaseStringUTFChars(jarg4, (const char *)arg4);
|
||||||
if (arg6) jenv->ReleaseStringUTFChars(jarg6, (const char *)arg6);
|
if (arg6) jenv->ReleaseStringUTFChars(jarg6, (const char *)arg6);
|
||||||
@ -2440,7 +2442,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1r
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1playAndGetDigits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4, jint jarg5, jstring jarg6, jstring jarg7, jstring jarg8, jstring jarg9, jstring jarg10) {
|
SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1playAndGetDigits(JNIEnv *jenv, jclass jcls, jlong jarg1, jobject jarg1_, jint jarg2, jint jarg3, jint jarg4, jint jarg5, jstring jarg6, jstring jarg7, jstring jarg8, jstring jarg9, jstring jarg10, jint jarg11) {
|
||||||
jstring jresult = 0 ;
|
jstring jresult = 0 ;
|
||||||
CoreSession *arg1 = (CoreSession *) 0 ;
|
CoreSession *arg1 = (CoreSession *) 0 ;
|
||||||
int arg2 ;
|
int arg2 ;
|
||||||
@ -2452,6 +2454,7 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1p
|
|||||||
char *arg8 = (char *) 0 ;
|
char *arg8 = (char *) 0 ;
|
||||||
char *arg9 = (char *) 0 ;
|
char *arg9 = (char *) 0 ;
|
||||||
char *arg10 = (char *) NULL ;
|
char *arg10 = (char *) NULL ;
|
||||||
|
int arg11 = (int) 0 ;
|
||||||
char *result = 0 ;
|
char *result = 0 ;
|
||||||
|
|
||||||
(void)jenv;
|
(void)jenv;
|
||||||
@ -2487,7 +2490,8 @@ SWIGEXPORT jstring JNICALL Java_org_freeswitch_swig_freeswitchJNI_CoreSession_1p
|
|||||||
arg10 = (char *)jenv->GetStringUTFChars(jarg10, 0);
|
arg10 = (char *)jenv->GetStringUTFChars(jarg10, 0);
|
||||||
if (!arg10) return 0;
|
if (!arg10) return 0;
|
||||||
}
|
}
|
||||||
result = (char *)(arg1)->playAndGetDigits(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,(char const *)arg10);
|
arg11 = (int)jarg11;
|
||||||
|
result = (char *)(arg1)->playAndGetDigits(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,(char const *)arg10,arg11);
|
||||||
if(result) jresult = jenv->NewStringUTF((const char *)result);
|
if(result) jresult = jenv->NewStringUTF((const char *)result);
|
||||||
if (arg6) jenv->ReleaseStringUTFChars(jarg6, (const char *)arg6);
|
if (arg6) jenv->ReleaseStringUTFChars(jarg6, (const char *)arg6);
|
||||||
if (arg7) jenv->ReleaseStringUTFChars(jarg7, (const char *)arg7);
|
if (arg7) jenv->ReleaseStringUTFChars(jarg7, (const char *)arg7);
|
||||||
|
@ -5175,15 +5175,17 @@ static int _wrap_CoreSession_read(lua_State* L) {
|
|||||||
char *arg4 = (char *) 0 ;
|
char *arg4 = (char *) 0 ;
|
||||||
int arg5 ;
|
int arg5 ;
|
||||||
char *arg6 = (char *) 0 ;
|
char *arg6 = (char *) 0 ;
|
||||||
|
int arg7 = (int) 0 ;
|
||||||
char *result = 0 ;
|
char *result = 0 ;
|
||||||
|
|
||||||
SWIG_check_num_args("read",6,6)
|
SWIG_check_num_args("read",6,7)
|
||||||
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("read",1,"CoreSession *");
|
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("read",1,"CoreSession *");
|
||||||
if(!lua_isnumber(L,2)) SWIG_fail_arg("read",2,"int");
|
if(!lua_isnumber(L,2)) SWIG_fail_arg("read",2,"int");
|
||||||
if(!lua_isnumber(L,3)) SWIG_fail_arg("read",3,"int");
|
if(!lua_isnumber(L,3)) SWIG_fail_arg("read",3,"int");
|
||||||
if(!lua_isstring(L,4)) SWIG_fail_arg("read",4,"char const *");
|
if(!lua_isstring(L,4)) SWIG_fail_arg("read",4,"char const *");
|
||||||
if(!lua_isnumber(L,5)) SWIG_fail_arg("read",5,"int");
|
if(!lua_isnumber(L,5)) SWIG_fail_arg("read",5,"int");
|
||||||
if(!lua_isstring(L,6)) SWIG_fail_arg("read",6,"char const *");
|
if(!lua_isstring(L,6)) SWIG_fail_arg("read",6,"char const *");
|
||||||
|
if(lua_gettop(L)>=7 && !lua_isnumber(L,7)) SWIG_fail_arg("read",7,"int");
|
||||||
|
|
||||||
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_CoreSession,0))){
|
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_CoreSession,0))){
|
||||||
SWIG_fail_ptr("CoreSession_read",1,SWIGTYPE_p_CoreSession);
|
SWIG_fail_ptr("CoreSession_read",1,SWIGTYPE_p_CoreSession);
|
||||||
@ -5194,7 +5196,10 @@ static int _wrap_CoreSession_read(lua_State* L) {
|
|||||||
arg4 = (char *)lua_tostring(L, 4);
|
arg4 = (char *)lua_tostring(L, 4);
|
||||||
arg5 = (int)lua_tonumber(L, 5);
|
arg5 = (int)lua_tonumber(L, 5);
|
||||||
arg6 = (char *)lua_tostring(L, 6);
|
arg6 = (char *)lua_tostring(L, 6);
|
||||||
result = (char *)(arg1)->read(arg2,arg3,(char const *)arg4,arg5,(char const *)arg6);
|
if(lua_gettop(L)>=7){
|
||||||
|
arg7 = (int)lua_tonumber(L, 7);
|
||||||
|
}
|
||||||
|
result = (char *)(arg1)->read(arg2,arg3,(char const *)arg4,arg5,(char const *)arg6,arg7);
|
||||||
SWIG_arg=0;
|
SWIG_arg=0;
|
||||||
lua_pushstring(L,(const char*)result); SWIG_arg++;
|
lua_pushstring(L,(const char*)result); SWIG_arg++;
|
||||||
return SWIG_arg;
|
return SWIG_arg;
|
||||||
@ -5219,9 +5224,10 @@ static int _wrap_CoreSession_playAndGetDigits(lua_State* L) {
|
|||||||
char *arg8 = (char *) 0 ;
|
char *arg8 = (char *) 0 ;
|
||||||
char *arg9 = (char *) 0 ;
|
char *arg9 = (char *) 0 ;
|
||||||
char *arg10 = (char *) NULL ;
|
char *arg10 = (char *) NULL ;
|
||||||
|
int arg11 = (int) 0 ;
|
||||||
char *result = 0 ;
|
char *result = 0 ;
|
||||||
|
|
||||||
SWIG_check_num_args("playAndGetDigits",9,10)
|
SWIG_check_num_args("playAndGetDigits",9,11)
|
||||||
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("playAndGetDigits",1,"CoreSession *");
|
if(!SWIG_isptrtype(L,1)) SWIG_fail_arg("playAndGetDigits",1,"CoreSession *");
|
||||||
if(!lua_isnumber(L,2)) SWIG_fail_arg("playAndGetDigits",2,"int");
|
if(!lua_isnumber(L,2)) SWIG_fail_arg("playAndGetDigits",2,"int");
|
||||||
if(!lua_isnumber(L,3)) SWIG_fail_arg("playAndGetDigits",3,"int");
|
if(!lua_isnumber(L,3)) SWIG_fail_arg("playAndGetDigits",3,"int");
|
||||||
@ -5232,6 +5238,7 @@ static int _wrap_CoreSession_playAndGetDigits(lua_State* L) {
|
|||||||
if(!lua_isstring(L,8)) SWIG_fail_arg("playAndGetDigits",8,"char *");
|
if(!lua_isstring(L,8)) SWIG_fail_arg("playAndGetDigits",8,"char *");
|
||||||
if(!lua_isstring(L,9)) SWIG_fail_arg("playAndGetDigits",9,"char *");
|
if(!lua_isstring(L,9)) SWIG_fail_arg("playAndGetDigits",9,"char *");
|
||||||
if(lua_gettop(L)>=10 && !lua_isstring(L,10)) SWIG_fail_arg("playAndGetDigits",10,"char const *");
|
if(lua_gettop(L)>=10 && !lua_isstring(L,10)) SWIG_fail_arg("playAndGetDigits",10,"char const *");
|
||||||
|
if(lua_gettop(L)>=11 && !lua_isnumber(L,11)) SWIG_fail_arg("playAndGetDigits",11,"int");
|
||||||
|
|
||||||
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_CoreSession,0))){
|
if (!SWIG_IsOK(SWIG_ConvertPtr(L,1,(void**)&arg1,SWIGTYPE_p_CoreSession,0))){
|
||||||
SWIG_fail_ptr("CoreSession_playAndGetDigits",1,SWIGTYPE_p_CoreSession);
|
SWIG_fail_ptr("CoreSession_playAndGetDigits",1,SWIGTYPE_p_CoreSession);
|
||||||
@ -5248,7 +5255,10 @@ static int _wrap_CoreSession_playAndGetDigits(lua_State* L) {
|
|||||||
if(lua_gettop(L)>=10){
|
if(lua_gettop(L)>=10){
|
||||||
arg10 = (char *)lua_tostring(L, 10);
|
arg10 = (char *)lua_tostring(L, 10);
|
||||||
}
|
}
|
||||||
result = (char *)(arg1)->playAndGetDigits(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,(char const *)arg10);
|
if(lua_gettop(L)>=11){
|
||||||
|
arg11 = (int)lua_tonumber(L, 11);
|
||||||
|
}
|
||||||
|
result = (char *)(arg1)->playAndGetDigits(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,(char const *)arg10,arg11);
|
||||||
SWIG_arg=0;
|
SWIG_arg=0;
|
||||||
lua_pushstring(L,(const char*)result); SWIG_arg++;
|
lua_pushstring(L,(const char*)result); SWIG_arg++;
|
||||||
return SWIG_arg;
|
return SWIG_arg;
|
||||||
|
@ -3776,25 +3776,25 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_remote_ip_get(void * j
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_remote_port_set(void * jarg1, unsigned long jarg2) {
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_remote_port_set(void * jarg1, unsigned short jarg2) {
|
||||||
switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ;
|
switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ;
|
||||||
uint32_t arg2 ;
|
uint16_t arg2 ;
|
||||||
|
|
||||||
arg1 = (switch_t38_options_t *)jarg1;
|
arg1 = (switch_t38_options_t *)jarg1;
|
||||||
arg2 = (uint32_t)jarg2;
|
arg2 = (uint16_t)jarg2;
|
||||||
if (arg1) (arg1)->remote_port = arg2;
|
if (arg1) (arg1)->remote_port = arg2;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_t38_options_t_remote_port_get(void * jarg1) {
|
SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_t38_options_t_remote_port_get(void * jarg1) {
|
||||||
unsigned long jresult ;
|
unsigned short jresult ;
|
||||||
switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ;
|
switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ;
|
||||||
uint32_t result;
|
uint16_t result;
|
||||||
|
|
||||||
arg1 = (switch_t38_options_t *)jarg1;
|
arg1 = (switch_t38_options_t *)jarg1;
|
||||||
result = (uint32_t) ((arg1)->remote_port);
|
result = (uint16_t) ((arg1)->remote_port);
|
||||||
jresult = (unsigned long)result;
|
jresult = result;
|
||||||
return jresult;
|
return jresult;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -3828,25 +3828,25 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_t38_options_t_local_ip_get(void * ja
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_local_port_set(void * jarg1, unsigned long jarg2) {
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_t38_options_t_local_port_set(void * jarg1, unsigned short jarg2) {
|
||||||
switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ;
|
switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ;
|
||||||
uint32_t arg2 ;
|
uint16_t arg2 ;
|
||||||
|
|
||||||
arg1 = (switch_t38_options_t *)jarg1;
|
arg1 = (switch_t38_options_t *)jarg1;
|
||||||
arg2 = (uint32_t)jarg2;
|
arg2 = (uint16_t)jarg2;
|
||||||
if (arg1) (arg1)->local_port = arg2;
|
if (arg1) (arg1)->local_port = arg2;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_t38_options_t_local_port_get(void * jarg1) {
|
SWIGEXPORT unsigned short SWIGSTDCALL CSharp_switch_t38_options_t_local_port_get(void * jarg1) {
|
||||||
unsigned long jresult ;
|
unsigned short jresult ;
|
||||||
switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ;
|
switch_t38_options_t *arg1 = (switch_t38_options_t *) 0 ;
|
||||||
uint32_t result;
|
uint16_t result;
|
||||||
|
|
||||||
arg1 = (switch_t38_options_t *)jarg1;
|
arg1 = (switch_t38_options_t *)jarg1;
|
||||||
result = (uint32_t) ((arg1)->local_port);
|
result = (uint16_t) ((arg1)->local_port);
|
||||||
jresult = (unsigned long)result;
|
jresult = result;
|
||||||
return jresult;
|
return jresult;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -8152,7 +8152,7 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_timer_destroy(void * jarg1) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_init(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4, int jarg5, int jarg6, unsigned long jarg7, void * jarg8, void * jarg9) {
|
SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_init_with_bitrate(void * jarg1, char * jarg2, char * jarg3, unsigned long jarg4, int jarg5, int jarg6, unsigned long jarg7, unsigned long jarg8, void * jarg9, void * jarg10) {
|
||||||
int jresult ;
|
int jresult ;
|
||||||
switch_codec_t *arg1 = (switch_codec_t *) 0 ;
|
switch_codec_t *arg1 = (switch_codec_t *) 0 ;
|
||||||
char *arg2 = (char *) 0 ;
|
char *arg2 = (char *) 0 ;
|
||||||
@ -8161,8 +8161,9 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_init(void * jarg1, char * ja
|
|||||||
int arg5 ;
|
int arg5 ;
|
||||||
int arg6 ;
|
int arg6 ;
|
||||||
uint32_t arg7 ;
|
uint32_t arg7 ;
|
||||||
switch_codec_settings_t *arg8 = (switch_codec_settings_t *) 0 ;
|
uint32_t arg8 ;
|
||||||
switch_memory_pool_t *arg9 = (switch_memory_pool_t *) 0 ;
|
switch_codec_settings_t *arg9 = (switch_codec_settings_t *) 0 ;
|
||||||
|
switch_memory_pool_t *arg10 = (switch_memory_pool_t *) 0 ;
|
||||||
switch_status_t result;
|
switch_status_t result;
|
||||||
|
|
||||||
arg1 = (switch_codec_t *)jarg1;
|
arg1 = (switch_codec_t *)jarg1;
|
||||||
@ -8172,9 +8173,10 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_core_codec_init(void * jarg1, char * ja
|
|||||||
arg5 = (int)jarg5;
|
arg5 = (int)jarg5;
|
||||||
arg6 = (int)jarg6;
|
arg6 = (int)jarg6;
|
||||||
arg7 = (uint32_t)jarg7;
|
arg7 = (uint32_t)jarg7;
|
||||||
arg8 = (switch_codec_settings_t *)jarg8;
|
arg8 = (uint32_t)jarg8;
|
||||||
arg9 = (switch_memory_pool_t *)jarg9;
|
arg9 = (switch_codec_settings_t *)jarg9;
|
||||||
result = (switch_status_t)switch_core_codec_init(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,(switch_codec_settings const *)arg8,arg9);
|
arg10 = (switch_memory_pool_t *)jarg10;
|
||||||
|
result = (switch_status_t)switch_core_codec_init_with_bitrate(arg1,(char const *)arg2,(char const *)arg3,arg4,arg5,arg6,arg7,arg8,(switch_codec_settings const *)arg9,arg10);
|
||||||
jresult = result;
|
jresult = result;
|
||||||
return jresult;
|
return jresult;
|
||||||
}
|
}
|
||||||
@ -20563,369 +20565,24 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_directory_handle(void * jarg1)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_quality_set(void * jarg1, int jarg2) {
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_unused_set(void * jarg1, int jarg2) {
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
||||||
int arg2 ;
|
int arg2 ;
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
arg1 = (switch_codec_settings *)jarg1;
|
||||||
arg2 = (int)jarg2;
|
arg2 = (int)jarg2;
|
||||||
if (arg1) (arg1)->quality = arg2;
|
if (arg1) (arg1)->unused = arg2;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_settings_quality_get(void * jarg1) {
|
SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_settings_unused_get(void * jarg1) {
|
||||||
int jresult ;
|
int jresult ;
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
||||||
int result;
|
int result;
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
arg1 = (switch_codec_settings *)jarg1;
|
||||||
result = (int) ((arg1)->quality);
|
result = (int) ((arg1)->unused);
|
||||||
jresult = result;
|
|
||||||
return jresult;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_complexity_set(void * jarg1, int jarg2) {
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int arg2 ;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
arg2 = (int)jarg2;
|
|
||||||
if (arg1) (arg1)->complexity = arg2;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_settings_complexity_get(void * jarg1) {
|
|
||||||
int jresult ;
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int result;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
result = (int) ((arg1)->complexity);
|
|
||||||
jresult = result;
|
|
||||||
return jresult;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_enhancement_set(void * jarg1, int jarg2) {
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int arg2 ;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
arg2 = (int)jarg2;
|
|
||||||
if (arg1) (arg1)->enhancement = arg2;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_settings_enhancement_get(void * jarg1) {
|
|
||||||
int jresult ;
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int result;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
result = (int) ((arg1)->enhancement);
|
|
||||||
jresult = result;
|
|
||||||
return jresult;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_vad_set(void * jarg1, int jarg2) {
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int arg2 ;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
arg2 = (int)jarg2;
|
|
||||||
if (arg1) (arg1)->vad = arg2;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_settings_vad_get(void * jarg1) {
|
|
||||||
int jresult ;
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int result;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
result = (int) ((arg1)->vad);
|
|
||||||
jresult = result;
|
|
||||||
return jresult;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_vbr_set(void * jarg1, int jarg2) {
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int arg2 ;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
arg2 = (int)jarg2;
|
|
||||||
if (arg1) (arg1)->vbr = arg2;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_settings_vbr_get(void * jarg1) {
|
|
||||||
int jresult ;
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int result;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
result = (int) ((arg1)->vbr);
|
|
||||||
jresult = result;
|
|
||||||
return jresult;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_vbr_quality_set(void * jarg1, float jarg2) {
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
float arg2 ;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
arg2 = (float)jarg2;
|
|
||||||
if (arg1) (arg1)->vbr_quality = arg2;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT float SWIGSTDCALL CSharp_switch_codec_settings_vbr_quality_get(void * jarg1) {
|
|
||||||
float jresult ;
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
float result;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
result = (float) ((arg1)->vbr_quality);
|
|
||||||
jresult = result;
|
|
||||||
return jresult;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_abr_set(void * jarg1, int jarg2) {
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int arg2 ;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
arg2 = (int)jarg2;
|
|
||||||
if (arg1) (arg1)->abr = arg2;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_settings_abr_get(void * jarg1) {
|
|
||||||
int jresult ;
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int result;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
result = (int) ((arg1)->abr);
|
|
||||||
jresult = result;
|
|
||||||
return jresult;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_dtx_set(void * jarg1, int jarg2) {
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int arg2 ;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
arg2 = (int)jarg2;
|
|
||||||
if (arg1) (arg1)->dtx = arg2;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_settings_dtx_get(void * jarg1) {
|
|
||||||
int jresult ;
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int result;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
result = (int) ((arg1)->dtx);
|
|
||||||
jresult = result;
|
|
||||||
return jresult;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_preproc_set(void * jarg1, int jarg2) {
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int arg2 ;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
arg2 = (int)jarg2;
|
|
||||||
if (arg1) (arg1)->preproc = arg2;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_settings_preproc_get(void * jarg1) {
|
|
||||||
int jresult ;
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int result;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
result = (int) ((arg1)->preproc);
|
|
||||||
jresult = result;
|
|
||||||
return jresult;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_pp_vad_set(void * jarg1, int jarg2) {
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int arg2 ;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
arg2 = (int)jarg2;
|
|
||||||
if (arg1) (arg1)->pp_vad = arg2;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_settings_pp_vad_get(void * jarg1) {
|
|
||||||
int jresult ;
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int result;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
result = (int) ((arg1)->pp_vad);
|
|
||||||
jresult = result;
|
|
||||||
return jresult;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_pp_agc_set(void * jarg1, int jarg2) {
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int arg2 ;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
arg2 = (int)jarg2;
|
|
||||||
if (arg1) (arg1)->pp_agc = arg2;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_settings_pp_agc_get(void * jarg1) {
|
|
||||||
int jresult ;
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int result;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
result = (int) ((arg1)->pp_agc);
|
|
||||||
jresult = result;
|
|
||||||
return jresult;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_pp_agc_level_set(void * jarg1, float jarg2) {
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
float arg2 ;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
arg2 = (float)jarg2;
|
|
||||||
if (arg1) (arg1)->pp_agc_level = arg2;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT float SWIGSTDCALL CSharp_switch_codec_settings_pp_agc_level_get(void * jarg1) {
|
|
||||||
float jresult ;
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
float result;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
result = (float) ((arg1)->pp_agc_level);
|
|
||||||
jresult = result;
|
|
||||||
return jresult;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_pp_denoise_set(void * jarg1, int jarg2) {
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int arg2 ;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
arg2 = (int)jarg2;
|
|
||||||
if (arg1) (arg1)->pp_denoise = arg2;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_settings_pp_denoise_get(void * jarg1) {
|
|
||||||
int jresult ;
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int result;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
result = (int) ((arg1)->pp_denoise);
|
|
||||||
jresult = result;
|
|
||||||
return jresult;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_pp_dereverb_set(void * jarg1, int jarg2) {
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int arg2 ;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
arg2 = (int)jarg2;
|
|
||||||
if (arg1) (arg1)->pp_dereverb = arg2;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_settings_pp_dereverb_get(void * jarg1) {
|
|
||||||
int jresult ;
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
int result;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
result = (int) ((arg1)->pp_dereverb);
|
|
||||||
jresult = result;
|
|
||||||
return jresult;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_pp_dereverb_decay_set(void * jarg1, float jarg2) {
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
float arg2 ;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
arg2 = (float)jarg2;
|
|
||||||
if (arg1) (arg1)->pp_dereverb_decay = arg2;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT float SWIGSTDCALL CSharp_switch_codec_settings_pp_dereverb_decay_get(void * jarg1) {
|
|
||||||
float jresult ;
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
float result;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
result = (float) ((arg1)->pp_dereverb_decay);
|
|
||||||
jresult = result;
|
|
||||||
return jresult;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_settings_pp_dereverb_level_set(void * jarg1, float jarg2) {
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
float arg2 ;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
arg2 = (float)jarg2;
|
|
||||||
if (arg1) (arg1)->pp_dereverb_level = arg2;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT float SWIGSTDCALL CSharp_switch_codec_settings_pp_dereverb_level_get(void * jarg1) {
|
|
||||||
float jresult ;
|
|
||||||
switch_codec_settings *arg1 = (switch_codec_settings *) 0 ;
|
|
||||||
float result;
|
|
||||||
|
|
||||||
arg1 = (switch_codec_settings *)jarg1;
|
|
||||||
result = (float) ((arg1)->pp_dereverb_level);
|
|
||||||
jresult = result;
|
jresult = result;
|
||||||
return jresult;
|
return jresult;
|
||||||
}
|
}
|
||||||
@ -20950,6 +20607,117 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_codec_settings(void * jarg1) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_actual_samples_per_second_set(void * jarg1, unsigned long jarg2) {
|
||||||
|
switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ;
|
||||||
|
uint32_t arg2 ;
|
||||||
|
|
||||||
|
arg1 = (switch_codec_fmtp *)jarg1;
|
||||||
|
arg2 = (uint32_t)jarg2;
|
||||||
|
if (arg1) (arg1)->actual_samples_per_second = arg2;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT unsigned long SWIGSTDCALL CSharp_switch_codec_fmtp_actual_samples_per_second_get(void * jarg1) {
|
||||||
|
unsigned long jresult ;
|
||||||
|
switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ;
|
||||||
|
uint32_t result;
|
||||||
|
|
||||||
|
arg1 = (switch_codec_fmtp *)jarg1;
|
||||||
|
result = (uint32_t) ((arg1)->actual_samples_per_second);
|
||||||
|
jresult = (unsigned long)result;
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_bits_per_second_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)->bits_per_second = arg2;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_fmtp_bits_per_second_get(void * jarg1) {
|
||||||
|
int jresult ;
|
||||||
|
switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ;
|
||||||
|
int result;
|
||||||
|
|
||||||
|
arg1 = (switch_codec_fmtp *)jarg1;
|
||||||
|
result = (int) ((arg1)->bits_per_second);
|
||||||
|
jresult = result;
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_fmtp_microseconds_per_packet_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)->microseconds_per_packet = arg2;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT int SWIGSTDCALL CSharp_switch_codec_fmtp_microseconds_per_packet_get(void * jarg1) {
|
||||||
|
int jresult ;
|
||||||
|
switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ;
|
||||||
|
int result;
|
||||||
|
|
||||||
|
arg1 = (switch_codec_fmtp *)jarg1;
|
||||||
|
result = (int) ((arg1)->microseconds_per_packet);
|
||||||
|
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 ;
|
||||||
|
|
||||||
|
arg1 = (switch_codec_fmtp *)jarg1;
|
||||||
|
arg2 = (void *)jarg2;
|
||||||
|
if (arg1) (arg1)->private_info = arg2;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_fmtp_private_info_get(void * jarg1) {
|
||||||
|
void * jresult ;
|
||||||
|
switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ;
|
||||||
|
void *result = 0 ;
|
||||||
|
|
||||||
|
arg1 = (switch_codec_fmtp *)jarg1;
|
||||||
|
result = (void *) ((arg1)->private_info);
|
||||||
|
jresult = (void *)result;
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void * SWIGSTDCALL CSharp_new_switch_codec_fmtp() {
|
||||||
|
void * jresult ;
|
||||||
|
switch_codec_fmtp *result = 0 ;
|
||||||
|
|
||||||
|
result = (switch_codec_fmtp *)new switch_codec_fmtp();
|
||||||
|
jresult = (void *)result;
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_codec_fmtp(void * jarg1) {
|
||||||
|
switch_codec_fmtp *arg1 = (switch_codec_fmtp *) 0 ;
|
||||||
|
|
||||||
|
arg1 = (switch_codec_fmtp *)jarg1;
|
||||||
|
delete arg1;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_codec_interface_set(void * jarg1, void * jarg2) {
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_codec_interface_set(void * jarg1, void * jarg2) {
|
||||||
switch_codec *arg1 = (switch_codec *) 0 ;
|
switch_codec *arg1 = (switch_codec *) 0 ;
|
||||||
switch_codec_interface_t *arg2 = (switch_codec_interface_t *) 0 ;
|
switch_codec_interface_t *arg2 = (switch_codec_interface_t *) 0 ;
|
||||||
@ -21056,29 +20824,6 @@ SWIGEXPORT char * SWIGSTDCALL CSharp_switch_codec_fmtp_out_get(void * jarg1) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_codec_settings_set(void * jarg1, void * jarg2) {
|
|
||||||
switch_codec *arg1 = (switch_codec *) 0 ;
|
|
||||||
switch_codec_settings_t *arg2 = (switch_codec_settings_t *) 0 ;
|
|
||||||
|
|
||||||
arg1 = (switch_codec *)jarg1;
|
|
||||||
arg2 = (switch_codec_settings_t *)jarg2;
|
|
||||||
if (arg1) (arg1)->codec_settings = *arg2;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_codec_settings_get(void * jarg1) {
|
|
||||||
void * jresult ;
|
|
||||||
switch_codec *arg1 = (switch_codec *) 0 ;
|
|
||||||
switch_codec_settings_t *result = 0 ;
|
|
||||||
|
|
||||||
arg1 = (switch_codec *)jarg1;
|
|
||||||
result = (switch_codec_settings_t *)& ((arg1)->codec_settings);
|
|
||||||
jresult = (void *)result;
|
|
||||||
return jresult;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_flags_set(void * jarg1, unsigned long jarg2) {
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_flags_set(void * jarg1, unsigned long jarg2) {
|
||||||
switch_codec *arg1 = (switch_codec *) 0 ;
|
switch_codec *arg1 = (switch_codec *) 0 ;
|
||||||
uint32_t arg2 ;
|
uint32_t arg2 ;
|
||||||
@ -21781,6 +21526,29 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_implementations_get(
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_parse_fmtp_set(void * jarg1, void * jarg2) {
|
||||||
|
switch_codec_interface *arg1 = (switch_codec_interface *) 0 ;
|
||||||
|
switch_core_codec_fmtp_parse_func_t arg2 = (switch_core_codec_fmtp_parse_func_t) 0 ;
|
||||||
|
|
||||||
|
arg1 = (switch_codec_interface *)jarg1;
|
||||||
|
arg2 = (switch_core_codec_fmtp_parse_func_t)jarg2;
|
||||||
|
if (arg1) (arg1)->parse_fmtp = arg2;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT void * SWIGSTDCALL CSharp_switch_codec_interface_parse_fmtp_get(void * jarg1) {
|
||||||
|
void * jresult ;
|
||||||
|
switch_codec_interface *arg1 = (switch_codec_interface *) 0 ;
|
||||||
|
switch_core_codec_fmtp_parse_func_t result;
|
||||||
|
|
||||||
|
arg1 = (switch_codec_interface *)jarg1;
|
||||||
|
result = (switch_core_codec_fmtp_parse_func_t) ((arg1)->parse_fmtp);
|
||||||
|
jresult = (void *)result;
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_codec_id_set(void * jarg1, unsigned long jarg2) {
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_codec_interface_codec_id_set(void * jarg1, unsigned long jarg2) {
|
||||||
switch_codec_interface *arg1 = (switch_codec_interface *) 0 ;
|
switch_codec_interface *arg1 = (switch_codec_interface *) 0 ;
|
||||||
uint32_t arg2 ;
|
uint32_t arg2 ;
|
||||||
@ -28868,6 +28636,18 @@ SWIGEXPORT void * SWIGSTDCALL CSharp_switch_rtp_get_stats(void * jarg1, void * j
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
SWIGEXPORT unsigned char SWIGSTDCALL CSharp_switch_rtp_check_auto_adj(void * jarg1) {
|
||||||
|
unsigned char jresult ;
|
||||||
|
switch_rtp_t *arg1 = (switch_rtp_t *) 0 ;
|
||||||
|
switch_byte_t result;
|
||||||
|
|
||||||
|
arg1 = (switch_rtp_t *)jarg1;
|
||||||
|
result = (switch_byte_t)switch_rtp_check_auto_adj(arg1);
|
||||||
|
jresult = result;
|
||||||
|
return jresult;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_data_set(void * jarg1, char * jarg2) {
|
SWIGEXPORT void SWIGSTDCALL CSharp_switch_log_node_t_data_set(void * jarg1, char * jarg2) {
|
||||||
switch_log_node_t *arg1 = (switch_log_node_t *) 0 ;
|
switch_log_node_t *arg1 = (switch_log_node_t *) 0 ;
|
||||||
char *arg2 = (char *) 0 ;
|
char *arg2 = (char *) 0 ;
|
||||||
|
@ -1663,8 +1663,8 @@ public class freeswitch {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
public static switch_status_t switch_core_codec_init(switch_codec codec, string codec_name, string fmtp, uint rate, int ms, int channels, uint flags, switch_codec_settings codec_settings, SWIGTYPE_p_apr_pool_t pool) {
|
public static switch_status_t switch_core_codec_init_with_bitrate(switch_codec codec, string codec_name, string fmtp, uint rate, int ms, int channels, uint bitrate, uint flags, switch_codec_settings codec_settings, SWIGTYPE_p_apr_pool_t pool) {
|
||||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_codec_init(switch_codec.getCPtr(codec), codec_name, fmtp, rate, ms, channels, flags, switch_codec_settings.getCPtr(codec_settings), SWIGTYPE_p_apr_pool_t.getCPtr(pool));
|
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_core_codec_init_with_bitrate(switch_codec.getCPtr(codec), codec_name, fmtp, rate, ms, channels, bitrate, flags, switch_codec_settings.getCPtr(codec_settings), SWIGTYPE_p_apr_pool_t.getCPtr(pool));
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -4595,6 +4595,11 @@ public class freeswitch {
|
|||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static byte switch_rtp_check_auto_adj(SWIGTYPE_p_switch_rtp rtp_session) {
|
||||||
|
byte ret = freeswitchPINVOKE.switch_rtp_check_auto_adj(SWIGTYPE_p_switch_rtp.getCPtr(rtp_session));
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
|
||||||
public static switch_status_t switch_log_init(SWIGTYPE_p_apr_pool_t pool, switch_bool_t colorize) {
|
public static switch_status_t switch_log_init(SWIGTYPE_p_apr_pool_t pool, switch_bool_t colorize) {
|
||||||
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_log_init(SWIGTYPE_p_apr_pool_t.getCPtr(pool), (int)colorize);
|
switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_log_init(SWIGTYPE_p_apr_pool_t.getCPtr(pool), (int)colorize);
|
||||||
return ret;
|
return ret;
|
||||||
@ -6362,10 +6367,10 @@ class freeswitchPINVOKE {
|
|||||||
public static extern string switch_t38_options_t_remote_ip_get(HandleRef jarg1);
|
public static extern string switch_t38_options_t_remote_ip_get(HandleRef jarg1);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_remote_port_set")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_remote_port_set")]
|
||||||
public static extern void switch_t38_options_t_remote_port_set(HandleRef jarg1, uint jarg2);
|
public static extern void switch_t38_options_t_remote_port_set(HandleRef jarg1, ushort jarg2);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_remote_port_get")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_remote_port_get")]
|
||||||
public static extern uint switch_t38_options_t_remote_port_get(HandleRef jarg1);
|
public static extern ushort switch_t38_options_t_remote_port_get(HandleRef jarg1);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_local_ip_set")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_local_ip_set")]
|
||||||
public static extern void switch_t38_options_t_local_ip_set(HandleRef jarg1, string jarg2);
|
public static extern void switch_t38_options_t_local_ip_set(HandleRef jarg1, string jarg2);
|
||||||
@ -6374,10 +6379,10 @@ class freeswitchPINVOKE {
|
|||||||
public static extern string switch_t38_options_t_local_ip_get(HandleRef jarg1);
|
public static extern string switch_t38_options_t_local_ip_get(HandleRef jarg1);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_local_port_set")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_local_port_set")]
|
||||||
public static extern void switch_t38_options_t_local_port_set(HandleRef jarg1, uint jarg2);
|
public static extern void switch_t38_options_t_local_port_set(HandleRef jarg1, ushort jarg2);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_local_port_get")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_t38_options_t_local_port_get")]
|
||||||
public static extern uint switch_t38_options_t_local_port_get(HandleRef jarg1);
|
public static extern ushort switch_t38_options_t_local_port_get(HandleRef jarg1);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_t38_options_t")]
|
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_t38_options_t")]
|
||||||
public static extern IntPtr new_switch_t38_options_t();
|
public static extern IntPtr new_switch_t38_options_t();
|
||||||
@ -7390,8 +7395,8 @@ class freeswitchPINVOKE {
|
|||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_timer_destroy")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_timer_destroy")]
|
||||||
public static extern int switch_core_timer_destroy(HandleRef jarg1);
|
public static extern int switch_core_timer_destroy(HandleRef jarg1);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_init")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_init_with_bitrate")]
|
||||||
public static extern int switch_core_codec_init(HandleRef jarg1, string jarg2, string jarg3, uint jarg4, int jarg5, int jarg6, uint jarg7, HandleRef jarg8, HandleRef jarg9);
|
public static extern int switch_core_codec_init_with_bitrate(HandleRef jarg1, string jarg2, string jarg3, uint jarg4, int jarg5, int jarg6, uint jarg7, uint jarg8, HandleRef jarg9, HandleRef jarg10);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_copy")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_core_codec_copy")]
|
||||||
public static extern int switch_core_codec_copy(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);
|
public static extern int switch_core_codec_copy(HandleRef jarg1, HandleRef jarg2, HandleRef jarg3);
|
||||||
@ -10372,101 +10377,11 @@ class freeswitchPINVOKE {
|
|||||||
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_directory_handle")]
|
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_directory_handle")]
|
||||||
public static extern void delete_switch_directory_handle(HandleRef jarg1);
|
public static extern void delete_switch_directory_handle(HandleRef jarg1);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_quality_set")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_unused_set")]
|
||||||
public static extern void switch_codec_settings_quality_set(HandleRef jarg1, int jarg2);
|
public static extern void switch_codec_settings_unused_set(HandleRef jarg1, int jarg2);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_quality_get")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_unused_get")]
|
||||||
public static extern int switch_codec_settings_quality_get(HandleRef jarg1);
|
public static extern int switch_codec_settings_unused_get(HandleRef jarg1);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_complexity_set")]
|
|
||||||
public static extern void switch_codec_settings_complexity_set(HandleRef jarg1, int jarg2);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_complexity_get")]
|
|
||||||
public static extern int switch_codec_settings_complexity_get(HandleRef jarg1);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_enhancement_set")]
|
|
||||||
public static extern void switch_codec_settings_enhancement_set(HandleRef jarg1, int jarg2);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_enhancement_get")]
|
|
||||||
public static extern int switch_codec_settings_enhancement_get(HandleRef jarg1);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_vad_set")]
|
|
||||||
public static extern void switch_codec_settings_vad_set(HandleRef jarg1, int jarg2);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_vad_get")]
|
|
||||||
public static extern int switch_codec_settings_vad_get(HandleRef jarg1);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_vbr_set")]
|
|
||||||
public static extern void switch_codec_settings_vbr_set(HandleRef jarg1, int jarg2);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_vbr_get")]
|
|
||||||
public static extern int switch_codec_settings_vbr_get(HandleRef jarg1);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_vbr_quality_set")]
|
|
||||||
public static extern void switch_codec_settings_vbr_quality_set(HandleRef jarg1, float jarg2);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_vbr_quality_get")]
|
|
||||||
public static extern float switch_codec_settings_vbr_quality_get(HandleRef jarg1);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_abr_set")]
|
|
||||||
public static extern void switch_codec_settings_abr_set(HandleRef jarg1, int jarg2);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_abr_get")]
|
|
||||||
public static extern int switch_codec_settings_abr_get(HandleRef jarg1);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_dtx_set")]
|
|
||||||
public static extern void switch_codec_settings_dtx_set(HandleRef jarg1, int jarg2);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_dtx_get")]
|
|
||||||
public static extern int switch_codec_settings_dtx_get(HandleRef jarg1);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_preproc_set")]
|
|
||||||
public static extern void switch_codec_settings_preproc_set(HandleRef jarg1, int jarg2);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_preproc_get")]
|
|
||||||
public static extern int switch_codec_settings_preproc_get(HandleRef jarg1);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_pp_vad_set")]
|
|
||||||
public static extern void switch_codec_settings_pp_vad_set(HandleRef jarg1, int jarg2);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_pp_vad_get")]
|
|
||||||
public static extern int switch_codec_settings_pp_vad_get(HandleRef jarg1);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_pp_agc_set")]
|
|
||||||
public static extern void switch_codec_settings_pp_agc_set(HandleRef jarg1, int jarg2);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_pp_agc_get")]
|
|
||||||
public static extern int switch_codec_settings_pp_agc_get(HandleRef jarg1);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_pp_agc_level_set")]
|
|
||||||
public static extern void switch_codec_settings_pp_agc_level_set(HandleRef jarg1, float jarg2);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_pp_agc_level_get")]
|
|
||||||
public static extern float switch_codec_settings_pp_agc_level_get(HandleRef jarg1);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_pp_denoise_set")]
|
|
||||||
public static extern void switch_codec_settings_pp_denoise_set(HandleRef jarg1, int jarg2);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_pp_denoise_get")]
|
|
||||||
public static extern int switch_codec_settings_pp_denoise_get(HandleRef jarg1);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_pp_dereverb_set")]
|
|
||||||
public static extern void switch_codec_settings_pp_dereverb_set(HandleRef jarg1, int jarg2);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_pp_dereverb_get")]
|
|
||||||
public static extern int switch_codec_settings_pp_dereverb_get(HandleRef jarg1);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_pp_dereverb_decay_set")]
|
|
||||||
public static extern void switch_codec_settings_pp_dereverb_decay_set(HandleRef jarg1, float jarg2);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_pp_dereverb_decay_get")]
|
|
||||||
public static extern float switch_codec_settings_pp_dereverb_decay_get(HandleRef jarg1);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_pp_dereverb_level_set")]
|
|
||||||
public static extern void switch_codec_settings_pp_dereverb_level_set(HandleRef jarg1, float jarg2);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_settings_pp_dereverb_level_get")]
|
|
||||||
public static extern float switch_codec_settings_pp_dereverb_level_get(HandleRef jarg1);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_codec_settings")]
|
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_codec_settings")]
|
||||||
public static extern IntPtr new_switch_codec_settings();
|
public static extern IntPtr new_switch_codec_settings();
|
||||||
@ -10474,6 +10389,36 @@ class freeswitchPINVOKE {
|
|||||||
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_codec_settings")]
|
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_codec_settings")]
|
||||||
public static extern void delete_switch_codec_settings(HandleRef jarg1);
|
public static extern void delete_switch_codec_settings(HandleRef jarg1);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_actual_samples_per_second_set")]
|
||||||
|
public static extern void switch_codec_fmtp_actual_samples_per_second_set(HandleRef jarg1, uint jarg2);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_actual_samples_per_second_get")]
|
||||||
|
public static extern uint switch_codec_fmtp_actual_samples_per_second_get(HandleRef jarg1);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_bits_per_second_set")]
|
||||||
|
public static extern void switch_codec_fmtp_bits_per_second_set(HandleRef jarg1, int jarg2);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_bits_per_second_get")]
|
||||||
|
public static extern int switch_codec_fmtp_bits_per_second_get(HandleRef jarg1);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_microseconds_per_packet_set")]
|
||||||
|
public static extern void switch_codec_fmtp_microseconds_per_packet_set(HandleRef jarg1, int 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_private_info_set")]
|
||||||
|
public static extern void switch_codec_fmtp_private_info_set(HandleRef jarg1, HandleRef jarg2);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_private_info_get")]
|
||||||
|
public static extern IntPtr switch_codec_fmtp_private_info_get(HandleRef jarg1);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_new_switch_codec_fmtp")]
|
||||||
|
public static extern IntPtr new_switch_codec_fmtp();
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_delete_switch_codec_fmtp")]
|
||||||
|
public static extern void delete_switch_codec_fmtp(HandleRef jarg1);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_codec_interface_set")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_codec_interface_set")]
|
||||||
public static extern void switch_codec_codec_interface_set(HandleRef jarg1, HandleRef jarg2);
|
public static extern void switch_codec_codec_interface_set(HandleRef jarg1, HandleRef jarg2);
|
||||||
|
|
||||||
@ -10498,12 +10443,6 @@ class freeswitchPINVOKE {
|
|||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_out_get")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_fmtp_out_get")]
|
||||||
public static extern string switch_codec_fmtp_out_get(HandleRef jarg1);
|
public static extern string switch_codec_fmtp_out_get(HandleRef jarg1);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_codec_settings_set")]
|
|
||||||
public static extern void switch_codec_codec_settings_set(HandleRef jarg1, HandleRef jarg2);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_codec_settings_get")]
|
|
||||||
public static extern IntPtr switch_codec_codec_settings_get(HandleRef jarg1);
|
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_flags_set")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_flags_set")]
|
||||||
public static extern void switch_codec_flags_set(HandleRef jarg1, uint jarg2);
|
public static extern void switch_codec_flags_set(HandleRef jarg1, uint jarg2);
|
||||||
|
|
||||||
@ -10684,6 +10623,12 @@ class freeswitchPINVOKE {
|
|||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_implementations_get")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_implementations_get")]
|
||||||
public static extern IntPtr switch_codec_interface_implementations_get(HandleRef jarg1);
|
public static extern IntPtr switch_codec_interface_implementations_get(HandleRef jarg1);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_parse_fmtp_set")]
|
||||||
|
public static extern void switch_codec_interface_parse_fmtp_set(HandleRef jarg1, HandleRef jarg2);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_parse_fmtp_get")]
|
||||||
|
public static extern IntPtr switch_codec_interface_parse_fmtp_get(HandleRef jarg1);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_codec_id_set")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_codec_interface_codec_id_set")]
|
||||||
public static extern void switch_codec_interface_codec_id_set(HandleRef jarg1, uint jarg2);
|
public static extern void switch_codec_interface_codec_id_set(HandleRef jarg1, uint jarg2);
|
||||||
|
|
||||||
@ -12211,6 +12156,9 @@ class freeswitchPINVOKE {
|
|||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_stats")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_get_stats")]
|
||||||
public static extern IntPtr switch_rtp_get_stats(HandleRef jarg1, HandleRef jarg2);
|
public static extern IntPtr switch_rtp_get_stats(HandleRef jarg1, HandleRef jarg2);
|
||||||
|
|
||||||
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_rtp_check_auto_adj")]
|
||||||
|
public static extern byte switch_rtp_check_auto_adj(HandleRef jarg1);
|
||||||
|
|
||||||
[DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_data_set")]
|
[DllImport("mod_managed", EntryPoint="CSharp_switch_log_node_t_data_set")]
|
||||||
public static extern void switch_log_node_t_data_set(HandleRef jarg1, string jarg2);
|
public static extern void switch_log_node_t_data_set(HandleRef jarg1, string jarg2);
|
||||||
|
|
||||||
@ -14059,6 +14007,36 @@ namespace FreeSWITCH.Native {
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
public class SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t {
|
||||||
|
private HandleRef swigCPtr;
|
||||||
|
|
||||||
|
internal SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t(IntPtr cPtr, bool futureUse) {
|
||||||
|
swigCPtr = new HandleRef(this, cPtr);
|
||||||
|
}
|
||||||
|
|
||||||
|
protected SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t() {
|
||||||
|
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||||
|
}
|
||||||
|
|
||||||
|
internal static HandleRef getCPtr(SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t obj) {
|
||||||
|
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
/* ----------------------------------------------------------------------------
|
||||||
|
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||||
|
* Version 1.3.35
|
||||||
|
*
|
||||||
|
* Do not make changes to this file unless you know what you are doing--modify
|
||||||
|
* the SWIG interface file instead.
|
||||||
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
namespace FreeSWITCH.Native {
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
public class SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t {
|
public class SWIGTYPE_p_f_p_q_const__char_p_switch_core_session_p_switch_stream_handle__switch_status_t {
|
||||||
private HandleRef swigCPtr;
|
private HandleRef swigCPtr;
|
||||||
|
|
||||||
@ -21261,17 +21239,6 @@ public class switch_codec : IDisposable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public switch_codec_settings codec_settings {
|
|
||||||
set {
|
|
||||||
freeswitchPINVOKE.switch_codec_codec_settings_set(swigCPtr, switch_codec_settings.getCPtr(value));
|
|
||||||
}
|
|
||||||
get {
|
|
||||||
IntPtr cPtr = freeswitchPINVOKE.switch_codec_codec_settings_get(swigCPtr);
|
|
||||||
switch_codec_settings ret = (cPtr == IntPtr.Zero) ? null : new switch_codec_settings(cPtr, false);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public uint flags {
|
public uint flags {
|
||||||
set {
|
set {
|
||||||
freeswitchPINVOKE.switch_codec_flags_set(swigCPtr, value);
|
freeswitchPINVOKE.switch_codec_flags_set(swigCPtr, value);
|
||||||
@ -21378,6 +21345,94 @@ namespace FreeSWITCH.Native {
|
|||||||
using System;
|
using System;
|
||||||
using System.Runtime.InteropServices;
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
|
public class switch_codec_fmtp : IDisposable {
|
||||||
|
private HandleRef swigCPtr;
|
||||||
|
protected bool swigCMemOwn;
|
||||||
|
|
||||||
|
internal switch_codec_fmtp(IntPtr cPtr, bool cMemoryOwn) {
|
||||||
|
swigCMemOwn = cMemoryOwn;
|
||||||
|
swigCPtr = new HandleRef(this, cPtr);
|
||||||
|
}
|
||||||
|
|
||||||
|
internal static HandleRef getCPtr(switch_codec_fmtp obj) {
|
||||||
|
return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr;
|
||||||
|
}
|
||||||
|
|
||||||
|
~switch_codec_fmtp() {
|
||||||
|
Dispose();
|
||||||
|
}
|
||||||
|
|
||||||
|
public virtual void Dispose() {
|
||||||
|
lock(this) {
|
||||||
|
if(swigCPtr.Handle != IntPtr.Zero && swigCMemOwn) {
|
||||||
|
swigCMemOwn = false;
|
||||||
|
freeswitchPINVOKE.delete_switch_codec_fmtp(swigCPtr);
|
||||||
|
}
|
||||||
|
swigCPtr = new HandleRef(null, IntPtr.Zero);
|
||||||
|
GC.SuppressFinalize(this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public uint actual_samples_per_second {
|
||||||
|
set {
|
||||||
|
freeswitchPINVOKE.switch_codec_fmtp_actual_samples_per_second_set(swigCPtr, value);
|
||||||
|
}
|
||||||
|
get {
|
||||||
|
uint ret = freeswitchPINVOKE.switch_codec_fmtp_actual_samples_per_second_get(swigCPtr);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public int bits_per_second {
|
||||||
|
set {
|
||||||
|
freeswitchPINVOKE.switch_codec_fmtp_bits_per_second_set(swigCPtr, value);
|
||||||
|
}
|
||||||
|
get {
|
||||||
|
int ret = freeswitchPINVOKE.switch_codec_fmtp_bits_per_second_get(swigCPtr);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public int microseconds_per_packet {
|
||||||
|
set {
|
||||||
|
freeswitchPINVOKE.switch_codec_fmtp_microseconds_per_packet_set(swigCPtr, value);
|
||||||
|
}
|
||||||
|
get {
|
||||||
|
int ret = freeswitchPINVOKE.switch_codec_fmtp_microseconds_per_packet_get(swigCPtr);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public SWIGTYPE_p_void private_info {
|
||||||
|
set {
|
||||||
|
freeswitchPINVOKE.switch_codec_fmtp_private_info_set(swigCPtr, SWIGTYPE_p_void.getCPtr(value));
|
||||||
|
}
|
||||||
|
get {
|
||||||
|
IntPtr cPtr = freeswitchPINVOKE.switch_codec_fmtp_private_info_get(swigCPtr);
|
||||||
|
SWIGTYPE_p_void ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_void(cPtr, false);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
public switch_codec_fmtp() : this(freeswitchPINVOKE.new_switch_codec_fmtp(), true) {
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
/* ----------------------------------------------------------------------------
|
||||||
|
* This file was automatically generated by SWIG (http://www.swig.org).
|
||||||
|
* Version 1.3.35
|
||||||
|
*
|
||||||
|
* Do not make changes to this file unless you know what you are doing--modify
|
||||||
|
* the SWIG interface file instead.
|
||||||
|
* ----------------------------------------------------------------------------- */
|
||||||
|
|
||||||
|
namespace FreeSWITCH.Native {
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Runtime.InteropServices;
|
||||||
|
|
||||||
public class switch_codec_implementation : IDisposable {
|
public class switch_codec_implementation : IDisposable {
|
||||||
private HandleRef swigCPtr;
|
private HandleRef swigCPtr;
|
||||||
protected bool swigCMemOwn;
|
protected bool swigCMemOwn;
|
||||||
@ -21679,6 +21734,17 @@ public class switch_codec_interface : IDisposable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t parse_fmtp {
|
||||||
|
set {
|
||||||
|
freeswitchPINVOKE.switch_codec_interface_parse_fmtp_set(swigCPtr, SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t.getCPtr(value));
|
||||||
|
}
|
||||||
|
get {
|
||||||
|
IntPtr cPtr = freeswitchPINVOKE.switch_codec_interface_parse_fmtp_get(swigCPtr);
|
||||||
|
SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_f_p_q_const__char_p_switch_codec_fmtp__switch_status_t(cPtr, false);
|
||||||
|
return ret;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
public uint codec_id {
|
public uint codec_id {
|
||||||
set {
|
set {
|
||||||
freeswitchPINVOKE.switch_codec_interface_codec_id_set(swigCPtr, value);
|
freeswitchPINVOKE.switch_codec_interface_codec_id_set(swigCPtr, value);
|
||||||
@ -21790,162 +21856,12 @@ public class switch_codec_settings : IDisposable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public int quality {
|
public int unused {
|
||||||
set {
|
set {
|
||||||
freeswitchPINVOKE.switch_codec_settings_quality_set(swigCPtr, value);
|
freeswitchPINVOKE.switch_codec_settings_unused_set(swigCPtr, value);
|
||||||
}
|
}
|
||||||
get {
|
get {
|
||||||
int ret = freeswitchPINVOKE.switch_codec_settings_quality_get(swigCPtr);
|
int ret = freeswitchPINVOKE.switch_codec_settings_unused_get(swigCPtr);
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public int complexity {
|
|
||||||
set {
|
|
||||||
freeswitchPINVOKE.switch_codec_settings_complexity_set(swigCPtr, value);
|
|
||||||
}
|
|
||||||
get {
|
|
||||||
int ret = freeswitchPINVOKE.switch_codec_settings_complexity_get(swigCPtr);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public int enhancement {
|
|
||||||
set {
|
|
||||||
freeswitchPINVOKE.switch_codec_settings_enhancement_set(swigCPtr, value);
|
|
||||||
}
|
|
||||||
get {
|
|
||||||
int ret = freeswitchPINVOKE.switch_codec_settings_enhancement_get(swigCPtr);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public int vad {
|
|
||||||
set {
|
|
||||||
freeswitchPINVOKE.switch_codec_settings_vad_set(swigCPtr, value);
|
|
||||||
}
|
|
||||||
get {
|
|
||||||
int ret = freeswitchPINVOKE.switch_codec_settings_vad_get(swigCPtr);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public int vbr {
|
|
||||||
set {
|
|
||||||
freeswitchPINVOKE.switch_codec_settings_vbr_set(swigCPtr, value);
|
|
||||||
}
|
|
||||||
get {
|
|
||||||
int ret = freeswitchPINVOKE.switch_codec_settings_vbr_get(swigCPtr);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public float vbr_quality {
|
|
||||||
set {
|
|
||||||
freeswitchPINVOKE.switch_codec_settings_vbr_quality_set(swigCPtr, value);
|
|
||||||
}
|
|
||||||
get {
|
|
||||||
float ret = freeswitchPINVOKE.switch_codec_settings_vbr_quality_get(swigCPtr);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public int abr {
|
|
||||||
set {
|
|
||||||
freeswitchPINVOKE.switch_codec_settings_abr_set(swigCPtr, value);
|
|
||||||
}
|
|
||||||
get {
|
|
||||||
int ret = freeswitchPINVOKE.switch_codec_settings_abr_get(swigCPtr);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public int dtx {
|
|
||||||
set {
|
|
||||||
freeswitchPINVOKE.switch_codec_settings_dtx_set(swigCPtr, value);
|
|
||||||
}
|
|
||||||
get {
|
|
||||||
int ret = freeswitchPINVOKE.switch_codec_settings_dtx_get(swigCPtr);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public int preproc {
|
|
||||||
set {
|
|
||||||
freeswitchPINVOKE.switch_codec_settings_preproc_set(swigCPtr, value);
|
|
||||||
}
|
|
||||||
get {
|
|
||||||
int ret = freeswitchPINVOKE.switch_codec_settings_preproc_get(swigCPtr);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public int pp_vad {
|
|
||||||
set {
|
|
||||||
freeswitchPINVOKE.switch_codec_settings_pp_vad_set(swigCPtr, value);
|
|
||||||
}
|
|
||||||
get {
|
|
||||||
int ret = freeswitchPINVOKE.switch_codec_settings_pp_vad_get(swigCPtr);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public int pp_agc {
|
|
||||||
set {
|
|
||||||
freeswitchPINVOKE.switch_codec_settings_pp_agc_set(swigCPtr, value);
|
|
||||||
}
|
|
||||||
get {
|
|
||||||
int ret = freeswitchPINVOKE.switch_codec_settings_pp_agc_get(swigCPtr);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public float pp_agc_level {
|
|
||||||
set {
|
|
||||||
freeswitchPINVOKE.switch_codec_settings_pp_agc_level_set(swigCPtr, value);
|
|
||||||
}
|
|
||||||
get {
|
|
||||||
float ret = freeswitchPINVOKE.switch_codec_settings_pp_agc_level_get(swigCPtr);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public int pp_denoise {
|
|
||||||
set {
|
|
||||||
freeswitchPINVOKE.switch_codec_settings_pp_denoise_set(swigCPtr, value);
|
|
||||||
}
|
|
||||||
get {
|
|
||||||
int ret = freeswitchPINVOKE.switch_codec_settings_pp_denoise_get(swigCPtr);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public int pp_dereverb {
|
|
||||||
set {
|
|
||||||
freeswitchPINVOKE.switch_codec_settings_pp_dereverb_set(swigCPtr, value);
|
|
||||||
}
|
|
||||||
get {
|
|
||||||
int ret = freeswitchPINVOKE.switch_codec_settings_pp_dereverb_get(swigCPtr);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public float pp_dereverb_decay {
|
|
||||||
set {
|
|
||||||
freeswitchPINVOKE.switch_codec_settings_pp_dereverb_decay_set(swigCPtr, value);
|
|
||||||
}
|
|
||||||
get {
|
|
||||||
float ret = freeswitchPINVOKE.switch_codec_settings_pp_dereverb_decay_get(swigCPtr);
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public float pp_dereverb_level {
|
|
||||||
set {
|
|
||||||
freeswitchPINVOKE.switch_codec_settings_pp_dereverb_level_set(swigCPtr, value);
|
|
||||||
}
|
|
||||||
get {
|
|
||||||
float ret = freeswitchPINVOKE.switch_codec_settings_pp_dereverb_level_get(swigCPtr);
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -29575,12 +29491,12 @@ public class switch_t38_options_t : IDisposable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public uint remote_port {
|
public ushort remote_port {
|
||||||
set {
|
set {
|
||||||
freeswitchPINVOKE.switch_t38_options_t_remote_port_set(swigCPtr, value);
|
freeswitchPINVOKE.switch_t38_options_t_remote_port_set(swigCPtr, value);
|
||||||
}
|
}
|
||||||
get {
|
get {
|
||||||
uint ret = freeswitchPINVOKE.switch_t38_options_t_remote_port_get(swigCPtr);
|
ushort ret = freeswitchPINVOKE.switch_t38_options_t_remote_port_get(swigCPtr);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -29595,12 +29511,12 @@ public class switch_t38_options_t : IDisposable {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public uint local_port {
|
public ushort local_port {
|
||||||
set {
|
set {
|
||||||
freeswitchPINVOKE.switch_t38_options_t_local_port_set(swigCPtr, value);
|
freeswitchPINVOKE.switch_t38_options_t_local_port_set(swigCPtr, value);
|
||||||
}
|
}
|
||||||
get {
|
get {
|
||||||
uint ret = freeswitchPINVOKE.switch_t38_options_t_local_port_get(swigCPtr);
|
ushort ret = freeswitchPINVOKE.switch_t38_options_t_local_port_get(swigCPtr);
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6637,6 +6637,7 @@ XS(_wrap_CoreSession_read) {
|
|||||||
char *arg4 = (char *) 0 ;
|
char *arg4 = (char *) 0 ;
|
||||||
int arg5 ;
|
int arg5 ;
|
||||||
char *arg6 = (char *) 0 ;
|
char *arg6 = (char *) 0 ;
|
||||||
|
int arg7 = (int) 0 ;
|
||||||
char *result = 0 ;
|
char *result = 0 ;
|
||||||
void *argp1 = 0 ;
|
void *argp1 = 0 ;
|
||||||
int res1 = 0 ;
|
int res1 = 0 ;
|
||||||
@ -6652,11 +6653,13 @@ XS(_wrap_CoreSession_read) {
|
|||||||
int res6 ;
|
int res6 ;
|
||||||
char *buf6 = 0 ;
|
char *buf6 = 0 ;
|
||||||
int alloc6 = 0 ;
|
int alloc6 = 0 ;
|
||||||
|
int val7 ;
|
||||||
|
int ecode7 = 0 ;
|
||||||
int argvi = 0;
|
int argvi = 0;
|
||||||
dXSARGS;
|
dXSARGS;
|
||||||
|
|
||||||
if ((items < 6) || (items > 6)) {
|
if ((items < 6) || (items > 7)) {
|
||||||
SWIG_croak("Usage: CoreSession_read(self,min_digits,max_digits,prompt_audio_file,timeout,valid_terminators);");
|
SWIG_croak("Usage: CoreSession_read(self,min_digits,max_digits,prompt_audio_file,timeout,valid_terminators,digit_timeout);");
|
||||||
}
|
}
|
||||||
res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CoreSession, 0 | 0 );
|
res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CoreSession, 0 | 0 );
|
||||||
if (!SWIG_IsOK(res1)) {
|
if (!SWIG_IsOK(res1)) {
|
||||||
@ -6688,7 +6691,14 @@ XS(_wrap_CoreSession_read) {
|
|||||||
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CoreSession_read" "', argument " "6"" of type '" "char const *""'");
|
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CoreSession_read" "', argument " "6"" of type '" "char const *""'");
|
||||||
}
|
}
|
||||||
arg6 = reinterpret_cast< char * >(buf6);
|
arg6 = reinterpret_cast< char * >(buf6);
|
||||||
result = (char *)(arg1)->read(arg2,arg3,(char const *)arg4,arg5,(char const *)arg6);
|
if (items > 6) {
|
||||||
|
ecode7 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(6), &val7);
|
||||||
|
if (!SWIG_IsOK(ecode7)) {
|
||||||
|
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CoreSession_read" "', argument " "7"" of type '" "int""'");
|
||||||
|
}
|
||||||
|
arg7 = static_cast< int >(val7);
|
||||||
|
}
|
||||||
|
result = (char *)(arg1)->read(arg2,arg3,(char const *)arg4,arg5,(char const *)arg6,arg7);
|
||||||
ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
|
ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
|
||||||
|
|
||||||
|
|
||||||
@ -6696,6 +6706,7 @@ XS(_wrap_CoreSession_read) {
|
|||||||
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
|
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
|
||||||
|
|
||||||
if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
|
if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
|
||||||
|
|
||||||
XSRETURN(argvi);
|
XSRETURN(argvi);
|
||||||
fail:
|
fail:
|
||||||
|
|
||||||
@ -6704,6 +6715,7 @@ XS(_wrap_CoreSession_read) {
|
|||||||
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
|
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
|
||||||
|
|
||||||
if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
|
if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
|
||||||
|
|
||||||
SWIG_croak_null();
|
SWIG_croak_null();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -6721,6 +6733,7 @@ XS(_wrap_CoreSession_playAndGetDigits) {
|
|||||||
char *arg8 = (char *) 0 ;
|
char *arg8 = (char *) 0 ;
|
||||||
char *arg9 = (char *) 0 ;
|
char *arg9 = (char *) 0 ;
|
||||||
char *arg10 = (char *) NULL ;
|
char *arg10 = (char *) NULL ;
|
||||||
|
int arg11 = (int) 0 ;
|
||||||
char *result = 0 ;
|
char *result = 0 ;
|
||||||
void *argp1 = 0 ;
|
void *argp1 = 0 ;
|
||||||
int res1 = 0 ;
|
int res1 = 0 ;
|
||||||
@ -6747,11 +6760,13 @@ XS(_wrap_CoreSession_playAndGetDigits) {
|
|||||||
int res10 ;
|
int res10 ;
|
||||||
char *buf10 = 0 ;
|
char *buf10 = 0 ;
|
||||||
int alloc10 = 0 ;
|
int alloc10 = 0 ;
|
||||||
|
int val11 ;
|
||||||
|
int ecode11 = 0 ;
|
||||||
int argvi = 0;
|
int argvi = 0;
|
||||||
dXSARGS;
|
dXSARGS;
|
||||||
|
|
||||||
if ((items < 9) || (items > 10)) {
|
if ((items < 9) || (items > 11)) {
|
||||||
SWIG_croak("Usage: CoreSession_playAndGetDigits(self,min_digits,max_digits,max_tries,timeout,terminators,audio_files,bad_input_audio_files,digits_regex,var_name);");
|
SWIG_croak("Usage: CoreSession_playAndGetDigits(self,min_digits,max_digits,max_tries,timeout,terminators,audio_files,bad_input_audio_files,digits_regex,var_name,digit_timeout);");
|
||||||
}
|
}
|
||||||
res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CoreSession, 0 | 0 );
|
res1 = SWIG_ConvertPtr(ST(0), &argp1,SWIGTYPE_p_CoreSession, 0 | 0 );
|
||||||
if (!SWIG_IsOK(res1)) {
|
if (!SWIG_IsOK(res1)) {
|
||||||
@ -6805,7 +6820,14 @@ XS(_wrap_CoreSession_playAndGetDigits) {
|
|||||||
}
|
}
|
||||||
arg10 = reinterpret_cast< char * >(buf10);
|
arg10 = reinterpret_cast< char * >(buf10);
|
||||||
}
|
}
|
||||||
result = (char *)(arg1)->playAndGetDigits(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,(char const *)arg10);
|
if (items > 10) {
|
||||||
|
ecode11 = SWIG_AsVal_int SWIG_PERL_CALL_ARGS_2(ST(10), &val11);
|
||||||
|
if (!SWIG_IsOK(ecode11)) {
|
||||||
|
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "CoreSession_playAndGetDigits" "', argument " "11"" of type '" "int""'");
|
||||||
|
}
|
||||||
|
arg11 = static_cast< int >(val11);
|
||||||
|
}
|
||||||
|
result = (char *)(arg1)->playAndGetDigits(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,(char const *)arg10,arg11);
|
||||||
ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
|
ST(argvi) = SWIG_FromCharPtr((const char *)result); argvi++ ;
|
||||||
|
|
||||||
|
|
||||||
@ -6817,6 +6839,7 @@ XS(_wrap_CoreSession_playAndGetDigits) {
|
|||||||
if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
|
if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
|
||||||
if (alloc9 == SWIG_NEWOBJ) delete[] buf9;
|
if (alloc9 == SWIG_NEWOBJ) delete[] buf9;
|
||||||
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
|
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
|
||||||
|
|
||||||
XSRETURN(argvi);
|
XSRETURN(argvi);
|
||||||
fail:
|
fail:
|
||||||
|
|
||||||
@ -6829,6 +6852,7 @@ XS(_wrap_CoreSession_playAndGetDigits) {
|
|||||||
if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
|
if (alloc8 == SWIG_NEWOBJ) delete[] buf8;
|
||||||
if (alloc9 == SWIG_NEWOBJ) delete[] buf9;
|
if (alloc9 == SWIG_NEWOBJ) delete[] buf9;
|
||||||
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
|
if (alloc10 == SWIG_NEWOBJ) delete[] buf10;
|
||||||
|
|
||||||
SWIG_croak_null();
|
SWIG_croak_null();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -9708,17 +9732,17 @@ XS(SWIG_init) {
|
|||||||
SWIG_TypeClientData(SWIGTYPE_p_IVRMenu, (void*) "freeswitch::IVRMenu");
|
SWIG_TypeClientData(SWIGTYPE_p_IVRMenu, (void*) "freeswitch::IVRMenu");
|
||||||
SWIG_TypeClientData(SWIGTYPE_p_API, (void*) "freeswitch::API");
|
SWIG_TypeClientData(SWIGTYPE_p_API, (void*) "freeswitch::API");
|
||||||
SWIG_TypeClientData(SWIGTYPE_p_input_callback_state, (void*) "freeswitch::input_callback_state_t");
|
SWIG_TypeClientData(SWIGTYPE_p_input_callback_state, (void*) "freeswitch::input_callback_state_t");
|
||||||
/*@SWIG:/usr/local/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
/*@SWIG:/usr/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
||||||
SV *sv = get_sv((char*) SWIG_prefix "S_HUP", TRUE | 0x2 | GV_ADDMULTI);
|
SV *sv = get_sv((char*) SWIG_prefix "S_HUP", TRUE | 0x2 | GV_ADDMULTI);
|
||||||
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_HUP)));
|
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_HUP)));
|
||||||
SvREADONLY_on(sv);
|
SvREADONLY_on(sv);
|
||||||
} while(0) /*@SWIG@*/;
|
} while(0) /*@SWIG@*/;
|
||||||
/*@SWIG:/usr/local/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
/*@SWIG:/usr/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
||||||
SV *sv = get_sv((char*) SWIG_prefix "S_FREE", TRUE | 0x2 | GV_ADDMULTI);
|
SV *sv = get_sv((char*) SWIG_prefix "S_FREE", TRUE | 0x2 | GV_ADDMULTI);
|
||||||
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_FREE)));
|
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_FREE)));
|
||||||
SvREADONLY_on(sv);
|
SvREADONLY_on(sv);
|
||||||
} while(0) /*@SWIG@*/;
|
} while(0) /*@SWIG@*/;
|
||||||
/*@SWIG:/usr/local/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
/*@SWIG:/usr/share/swig/1.3.35/perl5/perltypemaps.swg,64,%set_constant@*/ do {
|
||||||
SV *sv = get_sv((char*) SWIG_prefix "S_RDLOCK", TRUE | 0x2 | GV_ADDMULTI);
|
SV *sv = get_sv((char*) SWIG_prefix "S_RDLOCK", TRUE | 0x2 | GV_ADDMULTI);
|
||||||
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_RDLOCK)));
|
sv_setsv(sv, SWIG_From_int SWIG_PERL_CALL_ARGS_1(static_cast< int >(S_RDLOCK)));
|
||||||
SvREADONLY_on(sv);
|
SvREADONLY_on(sv);
|
||||||
|
@ -7025,6 +7025,7 @@ SWIGINTERN PyObject *_wrap_CoreSession_read(PyObject *SWIGUNUSEDPARM(self), PyOb
|
|||||||
char *arg4 = (char *) 0 ;
|
char *arg4 = (char *) 0 ;
|
||||||
int arg5 ;
|
int arg5 ;
|
||||||
char *arg6 = (char *) 0 ;
|
char *arg6 = (char *) 0 ;
|
||||||
|
int arg7 = (int) 0 ;
|
||||||
char *result = 0 ;
|
char *result = 0 ;
|
||||||
void *argp1 = 0 ;
|
void *argp1 = 0 ;
|
||||||
int res1 = 0 ;
|
int res1 = 0 ;
|
||||||
@ -7040,14 +7041,17 @@ SWIGINTERN PyObject *_wrap_CoreSession_read(PyObject *SWIGUNUSEDPARM(self), PyOb
|
|||||||
int res6 ;
|
int res6 ;
|
||||||
char *buf6 = 0 ;
|
char *buf6 = 0 ;
|
||||||
int alloc6 = 0 ;
|
int alloc6 = 0 ;
|
||||||
|
int val7 ;
|
||||||
|
int ecode7 = 0 ;
|
||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
PyObject * obj1 = 0 ;
|
PyObject * obj1 = 0 ;
|
||||||
PyObject * obj2 = 0 ;
|
PyObject * obj2 = 0 ;
|
||||||
PyObject * obj3 = 0 ;
|
PyObject * obj3 = 0 ;
|
||||||
PyObject * obj4 = 0 ;
|
PyObject * obj4 = 0 ;
|
||||||
PyObject * obj5 = 0 ;
|
PyObject * obj5 = 0 ;
|
||||||
|
PyObject * obj6 = 0 ;
|
||||||
|
|
||||||
if (!PyArg_ParseTuple(args,(char *)"OOOOOO:CoreSession_read",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5)) SWIG_fail;
|
if (!PyArg_ParseTuple(args,(char *)"OOOOOO|O:CoreSession_read",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6)) SWIG_fail;
|
||||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CoreSession, 0 | 0 );
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CoreSession, 0 | 0 );
|
||||||
if (!SWIG_IsOK(res1)) {
|
if (!SWIG_IsOK(res1)) {
|
||||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CoreSession_read" "', argument " "1"" of type '" "CoreSession *""'");
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CoreSession_read" "', argument " "1"" of type '" "CoreSession *""'");
|
||||||
@ -7078,7 +7082,14 @@ SWIGINTERN PyObject *_wrap_CoreSession_read(PyObject *SWIGUNUSEDPARM(self), PyOb
|
|||||||
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CoreSession_read" "', argument " "6"" of type '" "char const *""'");
|
SWIG_exception_fail(SWIG_ArgError(res6), "in method '" "CoreSession_read" "', argument " "6"" of type '" "char const *""'");
|
||||||
}
|
}
|
||||||
arg6 = reinterpret_cast< char * >(buf6);
|
arg6 = reinterpret_cast< char * >(buf6);
|
||||||
result = (char *)(arg1)->read(arg2,arg3,(char const *)arg4,arg5,(char const *)arg6);
|
if (obj6) {
|
||||||
|
ecode7 = SWIG_AsVal_int(obj6, &val7);
|
||||||
|
if (!SWIG_IsOK(ecode7)) {
|
||||||
|
SWIG_exception_fail(SWIG_ArgError(ecode7), "in method '" "CoreSession_read" "', argument " "7"" of type '" "int""'");
|
||||||
|
}
|
||||||
|
arg7 = static_cast< int >(val7);
|
||||||
|
}
|
||||||
|
result = (char *)(arg1)->read(arg2,arg3,(char const *)arg4,arg5,(char const *)arg6,arg7);
|
||||||
resultobj = SWIG_FromCharPtr((const char *)result);
|
resultobj = SWIG_FromCharPtr((const char *)result);
|
||||||
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
|
if (alloc4 == SWIG_NEWOBJ) delete[] buf4;
|
||||||
if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
|
if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
|
||||||
@ -7102,6 +7113,7 @@ SWIGINTERN PyObject *_wrap_CoreSession_playAndGetDigits(PyObject *SWIGUNUSEDPARM
|
|||||||
char *arg8 = (char *) 0 ;
|
char *arg8 = (char *) 0 ;
|
||||||
char *arg9 = (char *) 0 ;
|
char *arg9 = (char *) 0 ;
|
||||||
char *arg10 = (char *) NULL ;
|
char *arg10 = (char *) NULL ;
|
||||||
|
int arg11 = (int) 0 ;
|
||||||
char *result = 0 ;
|
char *result = 0 ;
|
||||||
void *argp1 = 0 ;
|
void *argp1 = 0 ;
|
||||||
int res1 = 0 ;
|
int res1 = 0 ;
|
||||||
@ -7128,6 +7140,8 @@ SWIGINTERN PyObject *_wrap_CoreSession_playAndGetDigits(PyObject *SWIGUNUSEDPARM
|
|||||||
int res10 ;
|
int res10 ;
|
||||||
char *buf10 = 0 ;
|
char *buf10 = 0 ;
|
||||||
int alloc10 = 0 ;
|
int alloc10 = 0 ;
|
||||||
|
int val11 ;
|
||||||
|
int ecode11 = 0 ;
|
||||||
PyObject * obj0 = 0 ;
|
PyObject * obj0 = 0 ;
|
||||||
PyObject * obj1 = 0 ;
|
PyObject * obj1 = 0 ;
|
||||||
PyObject * obj2 = 0 ;
|
PyObject * obj2 = 0 ;
|
||||||
@ -7138,8 +7152,9 @@ SWIGINTERN PyObject *_wrap_CoreSession_playAndGetDigits(PyObject *SWIGUNUSEDPARM
|
|||||||
PyObject * obj7 = 0 ;
|
PyObject * obj7 = 0 ;
|
||||||
PyObject * obj8 = 0 ;
|
PyObject * obj8 = 0 ;
|
||||||
PyObject * obj9 = 0 ;
|
PyObject * obj9 = 0 ;
|
||||||
|
PyObject * obj10 = 0 ;
|
||||||
|
|
||||||
if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOO|O:CoreSession_playAndGetDigits",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9)) SWIG_fail;
|
if (!PyArg_ParseTuple(args,(char *)"OOOOOOOOO|OO:CoreSession_playAndGetDigits",&obj0,&obj1,&obj2,&obj3,&obj4,&obj5,&obj6,&obj7,&obj8,&obj9,&obj10)) SWIG_fail;
|
||||||
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CoreSession, 0 | 0 );
|
res1 = SWIG_ConvertPtr(obj0, &argp1,SWIGTYPE_p_CoreSession, 0 | 0 );
|
||||||
if (!SWIG_IsOK(res1)) {
|
if (!SWIG_IsOK(res1)) {
|
||||||
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CoreSession_playAndGetDigits" "', argument " "1"" of type '" "CoreSession *""'");
|
SWIG_exception_fail(SWIG_ArgError(res1), "in method '" "CoreSession_playAndGetDigits" "', argument " "1"" of type '" "CoreSession *""'");
|
||||||
@ -7192,7 +7207,14 @@ SWIGINTERN PyObject *_wrap_CoreSession_playAndGetDigits(PyObject *SWIGUNUSEDPARM
|
|||||||
}
|
}
|
||||||
arg10 = reinterpret_cast< char * >(buf10);
|
arg10 = reinterpret_cast< char * >(buf10);
|
||||||
}
|
}
|
||||||
result = (char *)(arg1)->playAndGetDigits(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,(char const *)arg10);
|
if (obj10) {
|
||||||
|
ecode11 = SWIG_AsVal_int(obj10, &val11);
|
||||||
|
if (!SWIG_IsOK(ecode11)) {
|
||||||
|
SWIG_exception_fail(SWIG_ArgError(ecode11), "in method '" "CoreSession_playAndGetDigits" "', argument " "11"" of type '" "int""'");
|
||||||
|
}
|
||||||
|
arg11 = static_cast< int >(val11);
|
||||||
|
}
|
||||||
|
result = (char *)(arg1)->playAndGetDigits(arg2,arg3,arg4,arg5,arg6,arg7,arg8,arg9,(char const *)arg10,arg11);
|
||||||
resultobj = SWIG_FromCharPtr((const char *)result);
|
resultobj = SWIG_FromCharPtr((const char *)result);
|
||||||
if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
|
if (alloc6 == SWIG_NEWOBJ) delete[] buf6;
|
||||||
if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
|
if (alloc7 == SWIG_NEWOBJ) delete[] buf7;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user