Package ipsk.audio
Class VectorBufferRawAudioSource
- java.lang.Object
 - 
- ipsk.audio.BasicAudioSource
 - 
- ipsk.audio.VectorBufferRawAudioSource
 
 
 
- 
- All Implemented Interfaces:
 AudioSource
public class VectorBufferRawAudioSource extends BasicAudioSource implements AudioSource
- Author:
 - K.Jaensch, klausj@phonetik.uni-muenchen.de
 
 
- 
- 
Field Summary
- 
Fields inherited from interface ipsk.audio.AudioSource
DATA_FLAVOR 
- 
Fields inherited from class ipsk.audio.BasicAudioSource
frameLengthObj 
 - 
 
- 
Constructor Summary
Constructors Constructor Description VectorBufferRawAudioSource(VectorBuffer vectorBuffer, javax.sound.sampled.AudioFormat audioFormat) 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.sound.sampled.AudioInputStreamgetAudioInputStream()Returns a new audio input stream.booleanisRandomAccessible()- 
Methods inherited from interface ipsk.audio.AudioSource
getFormat, getFrameLength 
- 
Methods inherited from class ipsk.audio.BasicAudioSource
getFormat, getFrameLength, setAudioFormat, setFrameLength 
 - 
 
 - 
 
- 
- 
Constructor Detail
- 
VectorBufferRawAudioSource
public VectorBufferRawAudioSource(VectorBuffer vectorBuffer, javax.sound.sampled.AudioFormat audioFormat)
 
 - 
 
- 
Method Detail
- 
getAudioInputStream
public javax.sound.sampled.AudioInputStream getAudioInputStream() throws AudioSourceExceptionDescription copied from interface:AudioSourceReturns a new audio input stream.- Specified by:
 getAudioInputStreamin interfaceAudioSource- Specified by:
 getAudioInputStreamin classBasicAudioSource- Returns:
 - a new audio input stream
 - Throws:
 AudioSourceException
 
- 
isRandomAccessible
public boolean isRandomAccessible()
- Overrides:
 isRandomAccessiblein classBasicAudioSource
 
 - 
 
 -