VolumeControl is an interface for manipulating the audio volume of a
Player.
Volume Settings
This interface allows the output volume to be specified using an integer value that varies between 0 and 100.
Specifying Volume in the Level Scale
The level scale specifies volume in a linear scale. It ranges from 0 to 100, where 0 represents silence and 100 represents the highest volume. The mapping for producing a linear multiplicative value is implementation dependent.
Mute
Setting mute on or off doesn't change the volume level returned by getLevel. If mute is
true, no audio signal is produced by this
Player; if mute is
false an audio signal is produced and the volume is restored.
Volume Change Events
When the state of the
VolumeControl changes, a
VOLUME_CHANGED event is delivered through the
PlayerListener.
@see javax.microedition.media.Control
@see javax.microedition.media.Player
@see javax.microedition.media.PlayerListener