public interface EqualizerBand
AudioEqualizer
Modifier and Type | Field and Description |
---|---|
static double |
MAX_GAIN
Maximum possible gain.
|
static double |
MIN_GAIN
Minimum possible gain.
|
Modifier and Type | Method and Description |
---|---|
double |
getBandwidth()
Gets the bandwith (of frequencies) of this band.
|
double |
getCenterFrequency()
Gets the center frequency of this band.
|
double |
getGain()
Gets the gain value for this bandwidth.
|
void |
setBandwidth(double bandwidth)
Sets the bandwidth of this band.
|
void |
setCenterFrequency(double centerFrequency)
Sets the center frequency of this band.
|
void |
setGain(double gain)
Sets the gain value for this bandwidth.
|
static final double MIN_GAIN
static final double MAX_GAIN
double getCenterFrequency()
void setCenterFrequency(double centerFrequency)
centerFrequency
- float valuedouble getBandwidth()
void setBandwidth(double bandwidth)
bandwidth
- float valuedouble getGain()
void setGain(double gain)
gain
- float value in dBIllegalArgumentException
- if gain
is outside of the
platform possible range. For example GStreamer based equalizer gain values
must be in [-24.0; 12.0] interval.Copyright © 2020. All rights reserved.