| Modifier and Type | Field and Description |
|---|---|
| private final long | nativeRef
Handle to the native equalizer. |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public EqualizerBand | addBand(double centerFrequency, double bandwidth, double gain)
Implements com. Adds a band to the equalizer. |
| public boolean | getEnabled()
Implements com. Returns whether equalization was enabled or not. |
| private native EqualizerBand | |
| private native boolean | |
| private native int | |
| private native boolean | |
| private native void | |
| public boolean | removeBand(double centerFrequency)
Implements com. Removes an equalizer band with the specified center frequency. |
| public void | setEnabled(boolean
boolean value enable)Implements com. Turns on or off audio equalization. |
| nativeRef | back to summary |
|---|---|
| private final long nativeRef Handle to the native equalizer. | |
| NativeAudioEqualizer | back to summary |
|---|---|
| pack-priv NativeAudioEqualizer(long nativeRef) Constructor.
| |
| addBand | back to summary |
|---|---|
| public EqualizerBand addBand(double centerFrequency, double bandwidth, double gain) Implements com. Doc from com. Adds a band to the equalizer.
| |
| getEnabled | back to summary |
|---|---|
| public boolean getEnabled() Implements com. Doc from com. Returns whether equalization was enabled or not.
| |
| nativeAddBand | back to summary |
|---|---|
| private native EqualizerBand nativeAddBand(long nativeRef, double centerFrequency, double bandwidth, double gain) | |
| nativeGetEnabled | back to summary |
|---|---|
| private native boolean nativeGetEnabled(long nativeRef) | |
| nativeGetNumBands | back to summary |
|---|---|
| private native int nativeGetNumBands(long nativeRef) | |
| nativeRemoveBand | back to summary |
|---|---|
| private native boolean nativeRemoveBand(long nativeRef, double centerFrequency) | |
| nativeSetEnabled | back to summary |
|---|---|
| private native void nativeSetEnabled(long nativeRef, boolean enable) | |
| removeBand | back to summary |
|---|---|
| public boolean removeBand(double centerFrequency) Implements com. Doc from com. Removes an equalizer band with the specified center frequency.
| |
| setEnabled | back to summary |
|---|---|
| public void setEnabled(boolean enable) Implements com. Doc from com. Turns on or off audio equalization.
| |