private static final class IOSMediaPlayer.NullEQBand extends java.lang.Object implements EqualizerBand
Modifier and Type | Field and Description |
---|---|
private double |
bandwidth |
private double |
center |
private double |
gain |
MAX_GAIN, MIN_GAIN
Constructor and Description |
---|
NullEQBand(double center,
double bandwidth,
double 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.
|
private double center
private double bandwidth
private double gain
public double getCenterFrequency()
EqualizerBand
getCenterFrequency
in interface EqualizerBand
public void setCenterFrequency(double centerFrequency)
EqualizerBand
setCenterFrequency
in interface EqualizerBand
centerFrequency
- float valuepublic double getBandwidth()
EqualizerBand
getBandwidth
in interface EqualizerBand
public void setBandwidth(double bandwidth)
EqualizerBand
setBandwidth
in interface EqualizerBand
bandwidth
- float valuepublic double getGain()
EqualizerBand
getGain
in interface EqualizerBand
public void setGain(double gain)
EqualizerBand
setGain
in interface EqualizerBand
gain
- float value in dB