All Packages Class Hierarchy This Package Previous Next Index
Interface quicktime.std.movies.media.AudioMediaHandler
- public interface AudioMediaHandler
Media Handler classes that implement this interface provide support
for getting and setting balance in their sound output.
-
getBalance()
- Returns the balance of audio media.
-
setBalance(float)
- Sets the balance of audio media.
getBalance
public abstract float getBalance() throws QTException
- Returns the balance of audio media. Range from -1.0 (Left) to 0 (Equal) to 1.0 (Right)
QuickTime::MediaGetSoundBalance()
- Returns:
- the balance value
setBalance
public abstract void setBalance(float balance) throws QTException
- Sets the balance of audio media. Range from -1.0 (Left) to 0 (Equal) to 1.0 (Right)
QuickTime::MediaSetSoundBalance()
- Parameters:
- balance - the new balance value.
All Packages Class Hierarchy This Package Previous Next Index