]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
reswig
authorBrian West <brian@freeswitch.org>
Thu, 23 Jul 2009 22:15:31 +0000 (22:15 +0000)
committerBrian West <brian@freeswitch.org>
Thu, 23 Jul 2009 22:15:31 +0000 (22:15 +0000)
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14334 d0543943-73ff-0310-b7d9-9358b9ac24b2

src/mod/languages/mod_managed/freeswitch_wrap.cxx
src/mod/languages/mod_managed/managed/swig.cs

index 29976e44c95b0bb601af19aa7552a6cb47439801..e9e4a6caffcbb7c35066f72d1722cb61008fd2ad 100644 (file)
@@ -21087,16 +21087,17 @@ SWIGEXPORT void SWIGSTDCALL CSharp_delete_switch_audio_resampler_t(void * jarg1)
 }
 
 
-SWIGEXPORT int SWIGSTDCALL CSharp_switch_resample_perform_create(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, int jarg5, char * jarg6, char * jarg7, int jarg8) {
+SWIGEXPORT int SWIGSTDCALL CSharp_switch_resample_perform_create(void * jarg1, unsigned long jarg2, unsigned long jarg3, unsigned long jarg4, int jarg5, unsigned long jarg6, char * jarg7, char * jarg8, int jarg9) {
   int jresult ;
   switch_audio_resampler_t **arg1 = (switch_audio_resampler_t **) 0 ;
   uint32_t arg2 ;
   uint32_t arg3 ;
   uint32_t arg4 ;
   int arg5 ;
-  char *arg6 = (char *) 0 ;
+  uint32_t arg6 ;
   char *arg7 = (char *) 0 ;
-  int arg8 ;
+  char *arg8 = (char *) 0 ;
+  int arg9 ;
   switch_status_t result;
   
   arg1 = (switch_audio_resampler_t **)jarg1; 
@@ -21104,10 +21105,11 @@ SWIGEXPORT int SWIGSTDCALL CSharp_switch_resample_perform_create(void * jarg1, u
   arg3 = (uint32_t)jarg3; 
   arg4 = (uint32_t)jarg4; 
   arg5 = (int)jarg5; 
-  arg6 = (char *)jarg6; 
+  arg6 = (uint32_t)jarg6; 
   arg7 = (char *)jarg7; 
-  arg8 = (int)jarg8; 
-  result = (switch_status_t)switch_resample_perform_create(arg1,arg2,arg3,arg4,arg5,(char const *)arg6,(char const *)arg7,arg8);
+  arg8 = (char *)jarg8; 
+  arg9 = (int)jarg9; 
+  result = (switch_status_t)switch_resample_perform_create(arg1,arg2,arg3,arg4,arg5,arg6,(char const *)arg7,(char const *)arg8,arg9);
   jresult = result; 
   return jresult;
 }
index c9c5bbe8fa63a67cee750ffc9de372cb2405dc4c..4c88925feebe499f82a9217180e468968f3edf96 100644 (file)
@@ -2995,8 +2995,8 @@ public class freeswitch {
     return ret;
   }
 
-  public static switch_status_t switch_resample_perform_create(SWIGTYPE_p_p_switch_audio_resampler_t new_resampler, uint from_rate, uint to_rate, uint to_size, int quality, string file, string func, int line) {
-    switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_resample_perform_create(SWIGTYPE_p_p_switch_audio_resampler_t.getCPtr(new_resampler), from_rate, to_rate, to_size, quality, file, func, line);
+  public static switch_status_t switch_resample_perform_create(SWIGTYPE_p_p_switch_audio_resampler_t new_resampler, uint from_rate, uint to_rate, uint to_size, int quality, uint channels, string file, string func, int line) {
+    switch_status_t ret = (switch_status_t)freeswitchPINVOKE.switch_resample_perform_create(SWIGTYPE_p_p_switch_audio_resampler_t.getCPtr(new_resampler), from_rate, to_rate, to_size, quality, channels, file, func, line);
     return ret;
   }
 
@@ -9577,7 +9577,7 @@ class freeswitchPINVOKE {
   public static extern void delete_switch_audio_resampler_t(HandleRef jarg1);
 
   [DllImport("mod_managed", EntryPoint="CSharp_switch_resample_perform_create")]
-  public static extern int switch_resample_perform_create(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, int jarg5, string jarg6, string jarg7, int jarg8);
+  public static extern int switch_resample_perform_create(HandleRef jarg1, uint jarg2, uint jarg3, uint jarg4, int jarg5, uint jarg6, string jarg7, string jarg8, int jarg9);
 
   [DllImport("mod_managed", EntryPoint="CSharp_switch_resample_destroy")]
   public static extern void switch_resample_destroy(HandleRef jarg1);