Package ipsk.audio
Interface AudioPlugin
-
- All Known Implementing Classes:
AppendPlugin
,BasicPCMPlugin
,ChannelRoutingPlugin
,ChannelSelectorPlugin
,CutPlugin
,EditPlugin
,EncodingPlugin
,InsertPlugin
,VolumeControlPlugin
public interface AudioPlugin
Interface for audio processing plugins.- Author:
- K.Jaensch, klausj@phonetik.uni-muenchen.de
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.sound.sampled.AudioInputStream
getAudioInputStream(javax.sound.sampled.AudioInputStream source)
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
setInputFormat(javax.sound.sampled.AudioFormat inputFormat)
void
setOutputFormat(javax.sound.sampled.AudioFormat outputFormat)
-
-
-
Method Detail
-
getAudioInputStream
javax.sound.sampled.AudioInputStream getAudioInputStream(javax.sound.sampled.AudioInputStream source) throws AudioPluginException
- Throws:
AudioPluginException
-
getSupportedInputFormats
javax.sound.sampled.AudioFormat[] getSupportedInputFormats()
-
getSupportedOutputFormats
javax.sound.sampled.AudioFormat[] getSupportedOutputFormats(javax.sound.sampled.AudioFormat inputFormat)
-
isInputFormatSupported
boolean isInputFormatSupported(javax.sound.sampled.AudioFormat inputFormat)
-
isOutputFormatSupported
boolean isOutputFormatSupported(javax.sound.sampled.AudioFormat inputFormat, javax.sound.sampled.AudioFormat outputFormat)
-
setInputFormat
void setInputFormat(javax.sound.sampled.AudioFormat inputFormat) throws AudioFormatNotSupportedException
- Throws:
AudioFormatNotSupportedException
-
getInputFormat
javax.sound.sampled.AudioFormat getInputFormat()
-
setOutputFormat
void setOutputFormat(javax.sound.sampled.AudioFormat outputFormat) throws AudioFormatNotSupportedException
- Throws:
AudioFormatNotSupportedException
-
getOutputFormat
javax.sound.sampled.AudioFormat getOutputFormat()
-
getControls
javax.sound.sampled.Control[] getControls()
-
-