org.videolan.jvlc
Class Audio

java.lang.Object
  extended by org.videolan.jvlc.Audio
All Implemented Interfaces:
AudioIntf

public class Audio
extends java.lang.Object
implements AudioIntf


Constructor Summary
Audio(long instance)
           
 
Method Summary
 long getInstance()
           
 boolean getMute()
           
 int getVolume()
           
 void setMute(boolean value)
           
 void setVolume(int volume)
           
 void toggleMute()
          Toggles mute
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Audio

public Audio(long instance)
Method Detail

getMute

public boolean getMute()
                throws VLCException
Specified by:
getMute in interface AudioIntf
Returns:
True if input is currently muted.
Throws:
VLCException

setMute

public void setMute(boolean value)
             throws VLCException
Specified by:
setMute in interface AudioIntf
Parameters:
value - If true, then the input is muted.
Throws:
VLCException

toggleMute

public void toggleMute()
                throws VLCException
Description copied from interface: AudioIntf
Toggles mute

Specified by:
toggleMute in interface AudioIntf
Throws:
VLCException

getVolume

public int getVolume()
              throws VLCException
Specified by:
getVolume in interface AudioIntf
Returns:
The volume level
Throws:
VLCException

setVolume

public void setVolume(int volume)
               throws VLCException
Specified by:
setVolume in interface AudioIntf
Parameters:
volume - The volume level (0-200) to set.
Throws:
VLCException

getInstance

public long getInstance()