All Packages Class Hierarchy This Package Previous Next Index
Volume values for objects that implement this interface are 0 for silence, 1.0F for unity gain (generally maximum volume for a given object). Values over 1.0 are not guaranteed to result in louder volumes; some objects support overdriving the volume, some do not. If an object does not support a value greater than 1, then it will set the volume to its maximum level.
An object may have a volume level but because it is muted you will not hear anything.
Unmuting an AudioSpec object will set it to its current volume setting. If an object is muted and its volume is changed this will not make the audio object audible, it has to be explicitly unmuted. This is inline with the way most mixing consoles work.
public abstract float getVolume() throws QTException
public abstract void setVolume(float val) throws QTException
public abstract boolean isMuted() throws QTException
public abstract void setMuted(boolean flag) throws QTException
All Packages Class Hierarchy This Package Previous Next Index