Exemplo n.º 1
0
 static void n_Filter_arrayLjava_nio_FloatBuffer_arrayJarrayLjava_nio_FloatBuffer_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1, IntPtr native_p2)
 {
     global::Org.Jcodec.Audio.ConvolutionFilter __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Audio.ConvolutionFilter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Nio.FloatBuffer[]             p0     = (global::Java.Nio.FloatBuffer[])JNIEnv.GetArray(native_p0, JniHandleOwnership.DoNotTransfer, typeof(global::Java.Nio.FloatBuffer));
     long[] p1 = (long[])JNIEnv.GetArray(native_p1, JniHandleOwnership.DoNotTransfer, typeof(long));
     global::Java.Nio.FloatBuffer[] p2 = (global::Java.Nio.FloatBuffer[])JNIEnv.GetArray(native_p2, JniHandleOwnership.DoNotTransfer, typeof(global::Java.Nio.FloatBuffer));
     __this.Filter(p0, p1, p2);
     if (p0 != null)
     {
         JNIEnv.CopyArray(p0, native_p0);
     }
     if (p1 != null)
     {
         JNIEnv.CopyArray(p1, native_p1);
     }
     if (p2 != null)
     {
         JNIEnv.CopyArray(p2, native_p2);
     }
 }
Exemplo n.º 2
0
 static int n_GetDelay(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Jcodec.Audio.ConvolutionFilter __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Audio.ConvolutionFilter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.Delay);
 }
Exemplo n.º 3
0
 static IntPtr n_BuildKernel(IntPtr jnienv, IntPtr native__this)
 {
     global::Org.Jcodec.Audio.ConvolutionFilter __this = global::Java.Lang.Object.GetObject <global::Org.Jcodec.Audio.ConvolutionFilter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewArray(__this.BuildKernel()));
 }