Package ipsk.audio
Interface AudioSource
-
- All Known Subinterfaces:
GrowingAudioSource
,TransferableAudioSource
- All Known Implementing Classes:
AudioClip
,BasicAudioSource
,ByteArrayAudioSource
,ConvenienceFileAudioSource
,FileAudioSource
,GrowingTempFileAudioSource
,PluginChain
,SineWaveGeneratorSource
,URLAudioSource
,VectorBufferAudioSource
,VectorBufferRawAudioSource
,WhiteNoiseGeneratorSource
public interface AudioSource
A source for audio streams.- Author:
- K.Jaensch, klausj@phonetik.uni-muenchen.de
-
-
Field Summary
Fields Modifier and Type Field Description static java.awt.datatransfer.DataFlavor
DATA_FLAVOR
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.sound.sampled.AudioInputStream
getAudioInputStream()
Returns a new audio input stream.javax.sound.sampled.AudioFormat
getFormat()
long
getFrameLength()
-
-
-
Method Detail
-
getAudioInputStream
javax.sound.sampled.AudioInputStream getAudioInputStream() throws AudioSourceException
Returns a new audio input stream.- Returns:
- a new audio input stream
- Throws:
AudioSourceException
-
getFrameLength
long getFrameLength() throws AudioSourceException
- Throws:
AudioSourceException
-
getFormat
javax.sound.sampled.AudioFormat getFormat() throws AudioSourceException
- Throws:
AudioSourceException
-
-