| Modifier and Type | Field and Description |
|---|---|
| public static final int | MAX_NUM_BANDS
The maximum number of bands the equalizer can control. |
| Modifier and Type | Method and Description |
|---|---|
| public EqualizerBand | Returns: instance of EqualizerBand if the band was added, null if a band with thecenterFrequency already exists.Adds a band to the equalizer. |
| public boolean | |
| public boolean | Returns: true if the band was found and removed. false otherwiseRemoves an equalizer band with the specified center frequency. |
| public void |
| MAX_NUM_BANDS | back to summary |
|---|---|
| public static final int MAX_NUM_BANDS The maximum number of bands the equalizer can control. | |
| addBand | back to summary |
|---|---|
| public EqualizerBand addBand(double centerFrequency, double bandwidth, double gain) Adds a band to the equalizer.
| |
| getEnabled | back to summary |
|---|---|
| public boolean getEnabled() Returns whether equalization was enabled or not.
| |
| removeBand | back to summary |
|---|---|
| public boolean removeBand(double centerFrequency) Removes an equalizer band with the specified center frequency.
| |
| setEnabled | back to summary |
|---|---|
| public void setEnabled(boolean bEnable) Turns on or off audio equalization.
| |