com.tuneology.avm.mixer
Interface MixerSwitch
- All Superinterfaces:
- MixerElement
- All Known Implementing Classes:
- NativeMixerSwitch
- public interface MixerSwitch
- extends MixerElement
This class represents a switch on an audio mixer.
- Version:
- $Id: MixerSwitch.java,v 1.3 2003/07/10 19:52:12 xnarf Exp $
- Author:
- Fran Taylor
Method Summary |
int |
getType()
Returns true if the channel has an input. |
boolean |
getValue()
Returns the value of the switch. |
void |
setValue(boolean b)
Sets the value of the switch. |
getValue
public boolean getValue()
throws java.io.IOException
- Returns the value of the switch.
- Returns:
- the value of the switch.
- Throws:
java.io.IOException
-
getType
public int getType()
- Description copied from interface:
MixerElement
- Returns true if the channel has an input.
- Specified by:
getType
in interface MixerElement
setValue
public void setValue(boolean b)
throws java.io.IOException
- Sets the value of the switch.
- Parameters:
b
- the new value- Throws:
java.io.IOException
-