|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
This class represents a channel on an audio mixer.
Fields inherited from interface com.tuneology.avm.mixer.MixerElement |
TYPE_INPUT, TYPE_MASTER, TYPE_OTHER, TYPE_PCM, TYPE_SWITCH |
Method Summary | |
int |
getType()
Returns true if the channel has an input. |
Volume |
getVolume()
Returns the current volume setting. |
VolumeRange |
getVolumeRange()
Returns the range of volume settings for the channel. |
boolean |
hasMute()
Returns true if the channel supports muting. |
boolean |
hasRecord()
Returns true if the channel supports recording. |
boolean |
isMute()
Returns the state of the mute bit. |
boolean |
isRecord()
Returns the state of the record bit for the channel. |
boolean |
isStereo()
Returns true if the channel is stereo. |
void |
setMute(boolean mute)
Sets the mute bit. |
void |
setRecord(boolean rec)
Sets the record bit for the channel. |
void |
setVolume(Volume vol)
Sets the volume. |
void |
toggleMute()
Toggles the state of the mute bit. |
void |
toggleRecord()
Toggles the state of the record bit. |
Methods inherited from interface com.tuneology.avm.mixer.MixerElement |
addEventListener, getName, removeEventListener |
Method Detail |
public void setVolume(Volume vol) throws java.io.IOException
vol
- the desired volume settingjava.io.IOException
- public Volume getVolume() throws java.io.IOException
java.io.IOException
- public VolumeRange getVolumeRange() throws java.io.IOException
java.io.IOException
- public boolean isStereo() throws java.io.IOException
java.io.IOException
- public boolean hasMute() throws java.io.IOException
java.io.IOException
- public void setMute(boolean mute) throws java.io.IOException
java.io.IOException
- public boolean isMute() throws java.io.IOException
java.io.IOException
- public void toggleMute() throws java.io.IOException
java.io.IOException
- public boolean hasRecord() throws java.io.IOException
java.io.IOException
- public void setRecord(boolean rec) throws java.io.IOException
rec
- the desired state of the record bit.java.io.IOException
- public boolean isRecord() throws java.io.IOException
java.io.IOException
- public int getType()
MixerElement
getType
in interface MixerElement
public void toggleRecord() throws java.io.IOException
java.io.IOException
-
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |