Package pi.resources.sound
Class Playback.VolumeControl
java.lang.Object
pi.resources.sound.Playback.VolumeControl
- All Implemented Interfaces:
AutoCloseable
- Enclosing class:
- Playback
An object for controlling the volume of a
SoundPlayback. Each
distinct instance represents an independent factor contributing to its
volume.- See Also:
-
Method Summary
-
Method Details
-
get
public float get()Gets the value of this volume control.- Returns:
- The value of this control.
-
set
public void set(float value) Sets the value of this volume control.- Parameters:
value- The value to be set.
-
close
public void close()- Specified by:
closein interfaceAutoCloseable
-