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

Field Summary
 
Fields inherited from interface uk.org.toot.audio.core.AudioProcess
AUDIO_DISCONNECT, AUDIO_OK
 
Method Summary
 int getChannels()
           
 int getEnvelopedLengthInFrames()
           
 javax.sound.sampled.AudioFormat getFormat()
           
 double getSampleRate()
           
 int processAudio(uk.org.toot.audio.core.AudioBuffer buffer)
           
 void seekEnvelopeStart(boolean b)
           
 void seekFrameInEnvelope(long framePtr, boolean b)
           
 
Methods inherited from interface uk.org.toot.audio.core.AudioProcess
close, open
 

Method Detail

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