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 AudioSourceA source for audio streams.- Author:
- K.Jaensch, klausj@phonetik.uni-muenchen.de
-
-
Field Summary
Fields Modifier and Type Field Description static java.awt.datatransfer.DataFlavorDATA_FLAVOR
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description javax.sound.sampled.AudioInputStreamgetAudioInputStream()Returns a new audio input stream.javax.sound.sampled.AudioFormatgetFormat()longgetFrameLength()
-
-
-
Method Detail
-
getAudioInputStream
javax.sound.sampled.AudioInputStream getAudioInputStream() throws AudioSourceExceptionReturns 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
-
-