All Downloads are FREE. Search and download functionalities are using the official Maven repository.

android.media.audiofx.Visualizer Maven / Gradle / Ivy

Go to download

provide android hidden api definition ,helper for android super framework development

There is a newer version: 1.11
Show newest version
package android.media.audiofx;
public class Visualizer
{
public static interface OnDataCaptureListener
{
public abstract  void onWaveFormDataCapture(android.media.audiofx.Visualizer visualizer, byte[] waveform, int samplingRate);
public abstract  void onFftDataCapture(android.media.audiofx.Visualizer visualizer, byte[] fft, int samplingRate);
}
public  Visualizer(int audioSession) throws java.lang.UnsupportedOperationException, java.lang.RuntimeException { throw new RuntimeException("Stub!"); }
public  void release() { throw new RuntimeException("Stub!"); }
protected  void finalize() { throw new RuntimeException("Stub!"); }
public  int setEnabled(boolean enabled) throws java.lang.IllegalStateException { throw new RuntimeException("Stub!"); }
public  boolean getEnabled() { throw new RuntimeException("Stub!"); }
public static native  int[] getCaptureSizeRange();
public static native  int getMaxCaptureRate();
public  int setCaptureSize(int size) throws java.lang.IllegalStateException { throw new RuntimeException("Stub!"); }
public  int getCaptureSize() throws java.lang.IllegalStateException { throw new RuntimeException("Stub!"); }
public  int setScalingMode(int mode) throws java.lang.IllegalStateException { throw new RuntimeException("Stub!"); }
public  int getScalingMode() throws java.lang.IllegalStateException { throw new RuntimeException("Stub!"); }
public  int getSamplingRate() throws java.lang.IllegalStateException { throw new RuntimeException("Stub!"); }
public  int getWaveForm(byte[] waveform) throws java.lang.IllegalStateException { throw new RuntimeException("Stub!"); }
public  int getFft(byte[] fft) throws java.lang.IllegalStateException { throw new RuntimeException("Stub!"); }
public  int setDataCaptureListener(android.media.audiofx.Visualizer.OnDataCaptureListener listener, int rate, boolean waveform, boolean fft) { throw new RuntimeException("Stub!"); }
public static final int STATE_UNINITIALIZED = 0;
public static final int STATE_INITIALIZED = 1;
public static final int STATE_ENABLED = 2;
public static final int SCALING_MODE_NORMALIZED = 0;
public static final int SCALING_MODE_AS_PLAYED = 1;
public static final int SUCCESS = 0;
public static final int ERROR = -1;
public static final int ALREADY_EXISTS = -2;
public static final int ERROR_NO_INIT = -3;
public static final int ERROR_BAD_VALUE = -4;
public static final int ERROR_INVALID_OPERATION = -5;
public static final int ERROR_NO_MEMORY = -6;
public static final int ERROR_DEAD_OBJECT = -7;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy