org.tritonus.sampled.mixer.alsa
Class AlsaPortMixer
java.lang.Object
org.tritonus.share.sampled.mixer.TLine
org.tritonus.share.sampled.mixer.TMixer
org.tritonus.sampled.mixer.alsa.AlsaPortMixer
- All Implemented Interfaces:
- Line, Mixer
- public class AlsaPortMixer
- extends TMixer
TODO:
Methods inherited from class org.tritonus.share.sampled.mixer.TMixer |
getClip, getLine, getMixerInfo, getSourceDataLine, getSourceLineInfo, getSourceLineInfo, getSourceLines, getTargetDataLine, getTargetLineInfo, getTargetLineInfo, getTargetLines, isLineSupported, isSourceFormatSupported, isSynchronizationSupported, isTargetFormatSupported, setSupportInformation, synchronize, unsynchronize |
Methods inherited from class org.tritonus.share.sampled.mixer.TLine |
addControl, addLineListener, closeImpl, getControl, getControls, getLineInfo, getMixer, isControlSupported, isOpen, notifyLineEvent, notifyLineEvent, openImpl, removeControl, removeLineListener, setLineInfo, setOpen |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DIRECTION_NONE
public static final int DIRECTION_NONE
- Used to signal an illegal value for direction.
- See Also:
- Constant Field Values
DIRECTION_COMMON
public static final int DIRECTION_COMMON
- Used to signal common volume or common switch.
- See Also:
- Constant Field Values
DIRECTION_PLAYBACK
public static final int DIRECTION_PLAYBACK
- Used to signal playback volume or playback switch.
- See Also:
- Constant Field Values
DIRECTION_CAPTURE
public static final int DIRECTION_CAPTURE
- Used to signal capture volume or capture switch.
- See Also:
- Constant Field Values
AlsaPortMixer
public AlsaPortMixer(int nCard)
AlsaPortMixer
public AlsaPortMixer(String strDeviceName)
open
public void open()
- Specified by:
open
in interface Line
- Overrides:
open
in class TLine
close
public void close()
- Specified by:
close
in interface Line
- Overrides:
close
in class TLine
getMaxLines
public int getMaxLines(Line.Info info)
getPort
protected Port getPort(Port.Info info)
throws LineUnavailableException
- Overrides:
getPort
in class TMixer
- Throws:
LineUnavailableException