|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.tuneology.avm.mixer.NativeMixerElement | +--com.tuneology.avm.mixer.NativeMixerChannel
This class represents a channel on an audio mixer.
Fields inherited from class com.tuneology.avm.mixer.NativeMixerElement |
TYPE_INPUT, TYPE_MASTER, TYPE_OTHER, TYPE_PCM, TYPE_SWITCH |
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. |
static void |
touch()
|
Methods inherited from class com.tuneology.avm.mixer.NativeMixerElement |
addEventListener, getName, removeEventListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface com.tuneology.avm.mixer.MixerElement |
addEventListener, getName, removeEventListener |
Method Detail |
public void setVolume(Volume vol) throws java.io.IOException
setVolume
in interface MixerChannel
vol
- the desired volume settingjava.io.IOException
- public Volume getVolume() throws java.io.IOException
getVolume
in interface MixerChannel
java.io.IOException
- public VolumeRange getVolumeRange() throws java.io.IOException
getVolumeRange
in interface MixerChannel
java.io.IOException
- public boolean isStereo() throws java.io.IOException
isStereo
in interface MixerChannel
java.io.IOException
- public boolean hasMute() throws java.io.IOException
hasMute
in interface MixerChannel
java.io.IOException
- public void setMute(boolean mute) throws java.io.IOException
setMute
in interface MixerChannel
java.io.IOException
- public boolean isMute() throws java.io.IOException
isMute
in interface MixerChannel
java.io.IOException
- public void toggleMute() throws java.io.IOException
toggleMute
in interface MixerChannel
java.io.IOException
- public boolean hasRecord() throws java.io.IOException
hasRecord
in interface MixerChannel
java.io.IOException
- public void setRecord(boolean rec) throws java.io.IOException
setRecord
in interface MixerChannel
rec
- the desired state of the record bit.java.io.IOException
- public boolean isRecord() throws java.io.IOException
isRecord
in interface MixerChannel
java.io.IOException
- public int getType()
MixerElement
getType
in interface MixerChannel
getType
in class NativeMixerElement
public void toggleRecord() throws java.io.IOException
toggleRecord
in interface MixerChannel
java.io.IOException
- public static void touch()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |