public interface GainMeter
Modifier and Type | Method and Description |
---|---|
int |
mapToMeterLevel(float level)
Transform a gain control level value [0.0...1.0] to
a value appropriate for this GainMeter.
|
void |
setLevel(float level)
Set the gain value for this GainMeter.
|
void |
setMute(boolean flag)
Sets the mute status of the GainMeter.
|
void |
updateView()
Force redraw of the gain meter button
|
void setMute(boolean flag)
flag
- If true, GainMeter is muted.
Otherwise gain is not muted.void setLevel(float level)
level
- A gain value in GainMeter coordinates.int mapToMeterLevel(float level)
level
- A value returned by getLevel method
of a GainControl object.void updateView()