com.frinika.audio.io
Interface LimitedAudioReader
- All Superinterfaces:
- uk.org.toot.audio.core.AudioProcess
- All Known Implementing Classes:
- AudioReader, EnvelopedAudioReader
public interface LimitedAudioReader
- extends uk.org.toot.audio.core.AudioProcess
A reader which provides a view of a portion of a wave file.
- Author:
- pjl
Fields inherited from interface uk.org.toot.audio.core.AudioProcess |
AUDIO_DISCONNECT, AUDIO_OK |
Methods inherited from interface uk.org.toot.audio.core.AudioProcess |
close, open |
getChannels
int getChannels()
getEnvelopedLengthInFrames
int getEnvelopedLengthInFrames()
getFormat
javax.sound.sampled.AudioFormat getFormat()
getSampleRate
double getSampleRate()
processAudio
int processAudio(uk.org.toot.audio.core.AudioBuffer buffer)
- Specified by:
processAudio
in interface uk.org.toot.audio.core.AudioProcess
seekEnvelopeStart
void seekEnvelopeStart(boolean b)
throws java.io.IOException
- Throws:
java.io.IOException
seekFrameInEnvelope
void seekFrameInEnvelope(long framePtr,
boolean b)
throws java.io.IOException
- Throws:
java.io.IOException