Пример #1
0
        static int n_Write_arraySI(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, int p1)
        {
            global::Com.Spotify.Sdk.Android.Player.AudioRingBuffer __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Sdk.Android.Player.AudioRingBuffer> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            short[] p0    = (short[])JNIEnv.GetArray(native_p0, JniHandleOwnership.DoNotTransfer, typeof(short));
            int     __ret = __this.Write(p0, p1);

            if (p0 != null)
            {
                JNIEnv.CopyArray(p0, native_p0);
            }
            return(__ret);
        }
Пример #2
0
 static void n_Clear(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Spotify.Sdk.Android.Player.AudioRingBuffer __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Sdk.Android.Player.AudioRingBuffer> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.Clear();
 }