Package ipsk.audio.plugins
Class ChannelRoutingPlugin
- java.lang.Object
-
- ipsk.audio.plugins.ChannelRoutingPlugin
-
- All Implemented Interfaces:
AudioPlugin
public class ChannelRoutingPlugin extends java.lang.Object implements AudioPlugin
Audio plugin to route channels.- Author:
- K.Jaensch, klausj@phonetik.uni-muenchen.de
-
-
Constructor Summary
Constructors Constructor Description ChannelRoutingPlugin()
ChannelRoutingPlugin(ChannelRouting channelRouting)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.sound.sampled.AudioInputStream
getAudioInputStream(javax.sound.sampled.AudioInputStream ais)
ChannelRouting
getChannelRouting()
javax.sound.sampled.Control[]
getControls()
javax.sound.sampled.AudioFormat
getInputFormat()
javax.sound.sampled.AudioFormat
getOutputFormat()
javax.sound.sampled.AudioFormat[]
getSupportedInputFormats()
javax.sound.sampled.AudioFormat[]
getSupportedOutputFormats(javax.sound.sampled.AudioFormat inputFormat)
boolean
isInputFormatSupported(javax.sound.sampled.AudioFormat inputFormat)
boolean
isOutputFormatSupported(javax.sound.sampled.AudioFormat inputFormat, javax.sound.sampled.AudioFormat outputFormat)
void
setChannelRouting(ChannelRouting channelRouting)
void
setInputFormat(javax.sound.sampled.AudioFormat inputFormat)
void
setOutputFormat(javax.sound.sampled.AudioFormat outputFormat)
-
-
-
Constructor Detail
-
ChannelRoutingPlugin
public ChannelRoutingPlugin(ChannelRouting channelRouting)
-
ChannelRoutingPlugin
public ChannelRoutingPlugin()
-
-
Method Detail
-
getChannelRouting
public ChannelRouting getChannelRouting()
- Returns:
- the channelRouting
-
setChannelRouting
public void setChannelRouting(ChannelRouting channelRouting)
- Parameters:
channelRouting
- the channelRouting to set
-
getAudioInputStream
public javax.sound.sampled.AudioInputStream getAudioInputStream(javax.sound.sampled.AudioInputStream ais) throws AudioPluginException
- Specified by:
getAudioInputStream
in interfaceAudioPlugin
- Throws:
AudioPluginException
-
getSupportedInputFormats
public javax.sound.sampled.AudioFormat[] getSupportedInputFormats()
- Specified by:
getSupportedInputFormats
in interfaceAudioPlugin
-
getSupportedOutputFormats
public javax.sound.sampled.AudioFormat[] getSupportedOutputFormats(javax.sound.sampled.AudioFormat inputFormat)
- Specified by:
getSupportedOutputFormats
in interfaceAudioPlugin
-
isInputFormatSupported
public boolean isInputFormatSupported(javax.sound.sampled.AudioFormat inputFormat)
- Specified by:
isInputFormatSupported
in interfaceAudioPlugin
-
isOutputFormatSupported
public boolean isOutputFormatSupported(javax.sound.sampled.AudioFormat inputFormat, javax.sound.sampled.AudioFormat outputFormat)
- Specified by:
isOutputFormatSupported
in interfaceAudioPlugin
-
setInputFormat
public void setInputFormat(javax.sound.sampled.AudioFormat inputFormat) throws AudioFormatNotSupportedException
- Specified by:
setInputFormat
in interfaceAudioPlugin
- Throws:
AudioFormatNotSupportedException
-
getInputFormat
public javax.sound.sampled.AudioFormat getInputFormat()
- Specified by:
getInputFormat
in interfaceAudioPlugin
-
setOutputFormat
public void setOutputFormat(javax.sound.sampled.AudioFormat outputFormat) throws AudioFormatNotSupportedException
- Specified by:
setOutputFormat
in interfaceAudioPlugin
- Throws:
AudioFormatNotSupportedException
-
getOutputFormat
public javax.sound.sampled.AudioFormat getOutputFormat()
- Specified by:
getOutputFormat
in interfaceAudioPlugin
-
getControls
public javax.sound.sampled.Control[] getControls()
- Specified by:
getControls
in interfaceAudioPlugin
-
-