diff options
Diffstat (limited to 'branches/1.0/bindings/java/android/ProxyAudioConsumerCallback.java')
-rw-r--r-- | branches/1.0/bindings/java/android/ProxyAudioConsumerCallback.java | 72 |
1 files changed, 0 insertions, 72 deletions
diff --git a/branches/1.0/bindings/java/android/ProxyAudioConsumerCallback.java b/branches/1.0/bindings/java/android/ProxyAudioConsumerCallback.java deleted file mode 100644 index 836c7e8..0000000 --- a/branches/1.0/bindings/java/android/ProxyAudioConsumerCallback.java +++ /dev/null @@ -1,72 +0,0 @@ -/* ---------------------------------------------------------------------------- - * 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); - } - -} |