|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object chrriis.dj.nativeswing.swtimpl.components.VLCAudio
public class VLCAudio
A VLC object responsible for audio-related actions.
Nested Class Summary | |
---|---|
static class |
VLCAudio.VLCChannel
An audio channel. |
Method Summary | |
---|---|
VLCAudio.VLCChannel |
getChannel()
Get the audio channel. |
int |
getTrack()
Get the audio track, or 0 if disabled. |
int |
getVolume()
Get the volume, as a value between 0 and 100. |
boolean |
isMute()
Indicate whether audio is mute. |
void |
setChannel(VLCAudio.VLCChannel channel)
Set the audio channel to use. |
void |
setMute(boolean isMute)
Set whether audio is mute. |
void |
setTrack(int track)
Set the audio track, or 0 to disable it. |
void |
setVolume(int volume)
Set the volume. |
void |
toggleMute()
Toggle the mute state. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void setMute(boolean isMute)
isMute
- true if audio should be mute, false otherwise.public boolean isMute()
public void setVolume(int volume)
volume
- the new volume, with a value between 0 and 100. Note that a value of 0 may not make it completely silent, mute should be used instead.public int getVolume()
public void setTrack(int track)
track
- the track to play.public int getTrack()
public void setChannel(VLCAudio.VLCChannel channel)
channel
- the audio channel to use.public VLCAudio.VLCChannel getChannel()
public void toggleMute()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |