Back to project page yammp.
The source code is released under:
GNU Lesser General Public License
If you think the Android project yammp listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package org.yammp.util; /* w w w . jav a 2 s . co m*/ import org.yammp.util.VisualizerWrapper.OnDataChangedListener; public abstract class VisualizerCompat { public final static int WAVE_CHANGED = 0; public final static int FFT_CHANGED = 1; public float accuracy = 1.0f; public long duration = 50; public VisualizerCompat(int audioSessionId, int fps) { } public abstract boolean getEnabled(); public abstract void release(); public abstract void setAccuracy(float accuracy); public abstract void setEnabled(boolean enabled); public abstract void setFftEnabled(boolean fft); public abstract void setOnDataChangedListener(OnDataChangedListener listener); public abstract void setWaveFormEnabled(boolean wave); }