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.AudioInputStreamgetAudioInputStream(javax.sound.sampled.AudioInputStream ais)ChannelRoutinggetChannelRouting()javax.sound.sampled.Control[]getControls()javax.sound.sampled.AudioFormatgetInputFormat()javax.sound.sampled.AudioFormatgetOutputFormat()javax.sound.sampled.AudioFormat[]getSupportedInputFormats()javax.sound.sampled.AudioFormat[]getSupportedOutputFormats(javax.sound.sampled.AudioFormat inputFormat)booleanisInputFormatSupported(javax.sound.sampled.AudioFormat inputFormat)booleanisOutputFormatSupported(javax.sound.sampled.AudioFormat inputFormat, javax.sound.sampled.AudioFormat outputFormat)voidsetChannelRouting(ChannelRouting channelRouting)voidsetInputFormat(javax.sound.sampled.AudioFormat inputFormat)voidsetOutputFormat(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:
getAudioInputStreamin interfaceAudioPlugin- Throws:
AudioPluginException
-
getSupportedInputFormats
public javax.sound.sampled.AudioFormat[] getSupportedInputFormats()
- Specified by:
getSupportedInputFormatsin interfaceAudioPlugin
-
getSupportedOutputFormats
public javax.sound.sampled.AudioFormat[] getSupportedOutputFormats(javax.sound.sampled.AudioFormat inputFormat)
- Specified by:
getSupportedOutputFormatsin interfaceAudioPlugin
-
isInputFormatSupported
public boolean isInputFormatSupported(javax.sound.sampled.AudioFormat inputFormat)
- Specified by:
isInputFormatSupportedin interfaceAudioPlugin
-
isOutputFormatSupported
public boolean isOutputFormatSupported(javax.sound.sampled.AudioFormat inputFormat, javax.sound.sampled.AudioFormat outputFormat)- Specified by:
isOutputFormatSupportedin interfaceAudioPlugin
-
setInputFormat
public void setInputFormat(javax.sound.sampled.AudioFormat inputFormat) throws AudioFormatNotSupportedException- Specified by:
setInputFormatin interfaceAudioPlugin- Throws:
AudioFormatNotSupportedException
-
getInputFormat
public javax.sound.sampled.AudioFormat getInputFormat()
- Specified by:
getInputFormatin interfaceAudioPlugin
-
setOutputFormat
public void setOutputFormat(javax.sound.sampled.AudioFormat outputFormat) throws AudioFormatNotSupportedException- Specified by:
setOutputFormatin interfaceAudioPlugin- Throws:
AudioFormatNotSupportedException
-
getOutputFormat
public javax.sound.sampled.AudioFormat getOutputFormat()
- Specified by:
getOutputFormatin interfaceAudioPlugin
-
getControls
public javax.sound.sampled.Control[] getControls()
- Specified by:
getControlsin interfaceAudioPlugin
-
-