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()
          Gets the mute status of the currently running input.
 int getVolume()
          Gets the current volume level on a scale from 0 to 200%.
 void setMute(boolean mute)
          Sets the mute value of the currently running input.
 void setVolume(int volume)
          Sets the volume for the running input.
 void toggleMute()
          Toggles the mute status of the currently running input.
 
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
Description copied from interface: AudioIntf
Gets the mute status of the currently running input.

Specified by:
getMute in interface AudioIntf
Returns:
True if input is currently muted.
Throws:
VLCException

setMute

public void setMute(boolean mute)
             throws VLCException
Description copied from interface: AudioIntf
Sets the mute value of the currently running input.

Specified by:
setMute in interface AudioIntf
Parameters:
mute - If true, then the input is muted.
Throws:
VLCException

toggleMute

public void toggleMute()
                throws VLCException
Description copied from interface: AudioIntf
Toggles the mute status of the currently running input. Toggles mute

Specified by:
toggleMute in interface AudioIntf
Throws:
VLCException

getVolume

public int getVolume()
              throws VLCException
Description copied from interface: AudioIntf
Gets the current volume level on a scale from 0 to 200%.

Specified by:
getVolume in interface AudioIntf
Returns:
The volume level
Throws:
VLCException

setVolume

public void setVolume(int volume)
               throws VLCException
Description copied from interface: AudioIntf
Sets the volume for the running input.

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

getInstance

public long getInstance()