public abstract class TMixer extends TLine implements Mixer
Mixer.Info| Modifier | Constructor and Description |
|---|---|
protected |
TMixer(Mixer.Info mixerInfo,
Line.Info lineInfo)
Constructor for mixers that use setSupportInformation().
|
protected |
TMixer(Mixer.Info mixerInfo,
Line.Info lineInfo,
Collection<AudioFormat> supportedSourceFormats,
Collection<AudioFormat> supportedTargetFormats,
Collection<Line.Info> supportedSourceLineInfos,
Collection<Line.Info> supportedTargetLineInfos)
Constructor for mixers.
|
addControl, addLineListener, close, closeImpl, getControl, getControls, getLineInfo, getMixer, isControlSupported, isOpen, notifyLineEvent, notifyLineEvent, open, openImpl, removeControl, removeLineListener, setLineInfo, setOpenclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMaxLinesaddLineListener, close, getControl, getControls, getLineInfo, isControlSupported, isOpen, open, removeLineListenerprotected TMixer(Mixer.Info mixerInfo, Line.Info lineInfo)
protected TMixer(Mixer.Info mixerInfo, Line.Info lineInfo, Collection<AudioFormat> supportedSourceFormats, Collection<AudioFormat> supportedTargetFormats, Collection<Line.Info> supportedSourceLineInfos, Collection<Line.Info> supportedTargetLineInfos)
protected void setSupportInformation(Collection<AudioFormat> supportedSourceFormats, Collection<AudioFormat> supportedTargetFormats, Collection<Line.Info> supportedSourceLineInfos, Collection<Line.Info> supportedTargetLineInfos)
public Mixer.Info getMixerInfo()
getMixerInfo in interface Mixerpublic Line.Info[] getSourceLineInfo()
getSourceLineInfo in interface Mixerpublic Line.Info[] getTargetLineInfo()
getTargetLineInfo in interface Mixerpublic Line.Info[] getSourceLineInfo(Line.Info info)
getSourceLineInfo in interface Mixerpublic Line.Info[] getTargetLineInfo(Line.Info info)
getTargetLineInfo in interface Mixerpublic boolean isLineSupported(Line.Info info)
isLineSupported in interface Mixerpublic Line getLine(Line.Info info) throws LineUnavailableException
getLine in interface MixerLineUnavailableExceptionprotected SourceDataLine getSourceDataLine(AudioFormat format, int nBufferSize) throws LineUnavailableException
LineUnavailableExceptionprotected Clip getClip(AudioFormat format) throws LineUnavailableException
LineUnavailableExceptionprotected TargetDataLine getTargetDataLine(AudioFormat format, int nBufferSize) throws LineUnavailableException
LineUnavailableExceptionprotected Port getPort(Port.Info info) throws LineUnavailableException
LineUnavailableExceptionpublic Line[] getSourceLines()
getSourceLines in interface Mixerpublic Line[] getTargetLines()
getTargetLines in interface Mixerpublic void synchronize(Line[] aLines, boolean bMaintainSync)
synchronize in interface Mixerpublic void unsynchronize(Line[] aLines)
unsynchronize in interface Mixerpublic boolean isSynchronizationSupported(Line[] aLines, boolean bMaintainSync)
isSynchronizationSupported in interface Mixerprotected boolean isSourceFormatSupported(AudioFormat format)
protected boolean isTargetFormatSupported(AudioFormat format)
Copyright © 2016. All Rights Reserved.