This commit is contained in:
Andrey Volk 2022-06-07 19:38:29 +00:00
parent fbdeceb994
commit a83e2f6b41
2 changed files with 67 additions and 29 deletions

View File

@ -28820,6 +28820,28 @@ SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_vol_get__
}
SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_volgranular_set___(void * jarg1, int jarg2) {
switch_file_handle *arg1 = (switch_file_handle *) 0 ;
int32_t arg2 ;
arg1 = (switch_file_handle *)jarg1;
arg2 = (int32_t)jarg2;
if (arg1) (arg1)->volgranular = arg2;
}
SWIGEXPORT int SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_volgranular_get___(void * jarg1) {
int jresult ;
switch_file_handle *arg1 = (switch_file_handle *) 0 ;
int32_t result;
arg1 = (switch_file_handle *)jarg1;
result = (int32_t) ((arg1)->volgranular);
jresult = result;
return jresult;
}
SWIGEXPORT void SWIGSTDCALL CSharp_FreeSWITCHfNative_switch_file_handle_resampler_set___(void * jarg1, void * jarg2) {
switch_file_handle *arg1 = (switch_file_handle *) 0 ;
switch_audio_resampler_t *arg2 = (switch_audio_resampler_t *) 0 ;

View File

@ -22447,6 +22447,12 @@ class freeswitchPINVOKE {
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_vol_get___")]
public static extern int switch_file_handle_vol_get(global::System.Runtime.InteropServices.HandleRef jarg1);
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_volgranular_set___")]
public static extern void switch_file_handle_volgranular_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2);
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_volgranular_get___")]
public static extern int switch_file_handle_volgranular_get(global::System.Runtime.InteropServices.HandleRef jarg1);
[global::System.Runtime.InteropServices.DllImport("mod_managed", EntryPoint="CSharp_FreeSWITCHfNative_switch_file_handle_resampler_set___")]
public static extern void switch_file_handle_resampler_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2);
@ -31035,35 +31041,35 @@ public enum switch_call_cause_t {
SWITCH_CAUSE_INTERWORKING = 127,
SWITCH_CAUSE_SUCCESS = 142,
SWITCH_CAUSE_ORIGINATOR_CANCEL = 487,
SWITCH_CAUSE_CRASH = 500,
SWITCH_CAUSE_SYSTEM_SHUTDOWN = 501,
SWITCH_CAUSE_LOSE_RACE = 502,
SWITCH_CAUSE_MANAGER_REQUEST = 503,
SWITCH_CAUSE_BLIND_TRANSFER = 600,
SWITCH_CAUSE_ATTENDED_TRANSFER = 601,
SWITCH_CAUSE_ALLOTTED_TIMEOUT = 602,
SWITCH_CAUSE_USER_CHALLENGE = 603,
SWITCH_CAUSE_MEDIA_TIMEOUT = 604,
SWITCH_CAUSE_PICKED_OFF = 605,
SWITCH_CAUSE_USER_NOT_REGISTERED = 606,
SWITCH_CAUSE_PROGRESS_TIMEOUT = 607,
SWITCH_CAUSE_INVALID_GATEWAY = 608,
SWITCH_CAUSE_GATEWAY_DOWN = 609,
SWITCH_CAUSE_INVALID_URL = 610,
SWITCH_CAUSE_INVALID_PROFILE = 611,
SWITCH_CAUSE_NO_PICKUP = 612,
SWITCH_CAUSE_SRTP_READ_ERROR = 613,
SWITCH_CAUSE_BOWOUT = 614,
SWITCH_CAUSE_BUSY_EVERYWHERE = 615,
SWITCH_CAUSE_DECLINE = 616,
SWITCH_CAUSE_DOES_NOT_EXIST_ANYWHERE = 617,
SWITCH_CAUSE_NOT_ACCEPTABLE = 618,
SWITCH_CAUSE_UNWANTED = 619,
SWITCH_CAUSE_NO_IDENTITY = 620,
SWITCH_CAUSE_BAD_IDENTITY_INFO = 621,
SWITCH_CAUSE_UNSUPPORTED_CERTIFICATE = 622,
SWITCH_CAUSE_INVALID_IDENTITY = 623,
SWITCH_CAUSE_STALE_DATE = 624
SWITCH_CAUSE_CRASH = 700,
SWITCH_CAUSE_SYSTEM_SHUTDOWN = 701,
SWITCH_CAUSE_LOSE_RACE = 702,
SWITCH_CAUSE_MANAGER_REQUEST = 703,
SWITCH_CAUSE_BLIND_TRANSFER = 800,
SWITCH_CAUSE_ATTENDED_TRANSFER = 801,
SWITCH_CAUSE_ALLOTTED_TIMEOUT = 802,
SWITCH_CAUSE_USER_CHALLENGE = 803,
SWITCH_CAUSE_MEDIA_TIMEOUT = 804,
SWITCH_CAUSE_PICKED_OFF = 805,
SWITCH_CAUSE_USER_NOT_REGISTERED = 806,
SWITCH_CAUSE_PROGRESS_TIMEOUT = 807,
SWITCH_CAUSE_INVALID_GATEWAY = 808,
SWITCH_CAUSE_GATEWAY_DOWN = 809,
SWITCH_CAUSE_INVALID_URL = 810,
SWITCH_CAUSE_INVALID_PROFILE = 811,
SWITCH_CAUSE_NO_PICKUP = 812,
SWITCH_CAUSE_SRTP_READ_ERROR = 813,
SWITCH_CAUSE_BOWOUT = 814,
SWITCH_CAUSE_BUSY_EVERYWHERE = 815,
SWITCH_CAUSE_DECLINE = 816,
SWITCH_CAUSE_DOES_NOT_EXIST_ANYWHERE = 817,
SWITCH_CAUSE_NOT_ACCEPTABLE = 818,
SWITCH_CAUSE_UNWANTED = 819,
SWITCH_CAUSE_NO_IDENTITY = 820,
SWITCH_CAUSE_BAD_IDENTITY_INFO = 821,
SWITCH_CAUSE_UNSUPPORTED_CERTIFICATE = 822,
SWITCH_CAUSE_INVALID_IDENTITY = 823,
SWITCH_CAUSE_STALE_DATE = 824
}
}
@ -37582,6 +37588,16 @@ public class switch_file_handle : global::System.IDisposable {
}
}
public int volgranular {
set {
freeswitchPINVOKE.switch_file_handle_volgranular_set(swigCPtr, value);
}
get {
int ret = freeswitchPINVOKE.switch_file_handle_volgranular_get(swigCPtr);
return ret;
}
}
public switch_audio_resampler_t resampler {
set {
freeswitchPINVOKE.switch_file_handle_resampler_set(swigCPtr, switch_audio_resampler_t.getCPtr(value));