summaryrefslogtreecommitdiffstats
path: root/bindings/java/android/ProxyAudioConsumerCallback.java
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/java/android/ProxyAudioConsumerCallback.java')
-rw-r--r--bindings/java/android/ProxyAudioConsumerCallback.java72
1 files changed, 72 insertions, 0 deletions
diff --git a/bindings/java/android/ProxyAudioConsumerCallback.java b/bindings/java/android/ProxyAudioConsumerCallback.java
new file mode 100644
index 0000000..836c7e8
--- /dev/null
+++ b/bindings/java/android/ProxyAudioConsumerCallback.java
@@ -0,0 +1,72 @@
+/* ----------------------------------------------------------------------------
+ * This file was automatically generated by SWIG (http://www.swig.org).
+ * Version 1.3.39
+ *
+ * Do not make changes to this file unless you know what you are doing--modify
+ * the SWIG interface file instead.
+ * ----------------------------------------------------------------------------- */
+
+package org.doubango.tinyWRAP;
+
+public class ProxyAudioConsumerCallback {
+ private long swigCPtr;
+ protected boolean swigCMemOwn;
+
+ protected ProxyAudioConsumerCallback(long cPtr, boolean cMemoryOwn) {
+ swigCMemOwn = cMemoryOwn;
+ swigCPtr = cPtr;
+ }
+
+ protected static long getCPtr(ProxyAudioConsumerCallback obj) {
+ return (obj == null) ? 0 : obj.swigCPtr;
+ }
+
+ protected void finalize() {
+ delete();
+ }
+
+ public synchronized void delete() {
+ if(swigCPtr != 0 && swigCMemOwn) {
+ swigCMemOwn = false;
+ tinyWRAPJNI.delete_ProxyAudioConsumerCallback(swigCPtr);
+ }
+ swigCPtr = 0;
+ }
+
+ protected void swigDirectorDisconnect() {
+ swigCMemOwn = false;
+ delete();
+ }
+
+ public void swigReleaseOwnership() {
+ swigCMemOwn = false;
+ tinyWRAPJNI.ProxyAudioConsumerCallback_change_ownership(this, swigCPtr, false);
+ }
+
+ public void swigTakeOwnership() {
+ swigCMemOwn = true;
+ tinyWRAPJNI.ProxyAudioConsumerCallback_change_ownership(this, swigCPtr, true);
+ }
+
+ public ProxyAudioConsumerCallback() {
+ this(tinyWRAPJNI.new_ProxyAudioConsumerCallback(), true);
+ tinyWRAPJNI.ProxyAudioConsumerCallback_director_connect(this, swigCPtr, swigCMemOwn, false);
+ }
+
+ public int prepare(int ptime, int rate, int channels) {
+ return (getClass() == ProxyAudioConsumerCallback.class) ? tinyWRAPJNI.ProxyAudioConsumerCallback_prepare(swigCPtr, this, ptime, rate, channels) : tinyWRAPJNI.ProxyAudioConsumerCallback_prepareSwigExplicitProxyAudioConsumerCallback(swigCPtr, this, ptime, rate, channels);
+ }
+
+ public int start() {
+ return (getClass() == ProxyAudioConsumerCallback.class) ? tinyWRAPJNI.ProxyAudioConsumerCallback_start(swigCPtr, this) : tinyWRAPJNI.ProxyAudioConsumerCallback_startSwigExplicitProxyAudioConsumerCallback(swigCPtr, this);
+ }
+
+ public int pause() {
+ return (getClass() == ProxyAudioConsumerCallback.class) ? tinyWRAPJNI.ProxyAudioConsumerCallback_pause(swigCPtr, this) : tinyWRAPJNI.ProxyAudioConsumerCallback_pauseSwigExplicitProxyAudioConsumerCallback(swigCPtr, this);
+ }
+
+ public int stop() {
+ return (getClass() == ProxyAudioConsumerCallback.class) ? tinyWRAPJNI.ProxyAudioConsumerCallback_stop(swigCPtr, this) : tinyWRAPJNI.ProxyAudioConsumerCallback_stopSwigExplicitProxyAudioConsumerCallback(swigCPtr, this);
+ }
+
+}
OpenPOWER on IntegriCloud