com.frinika.audio.io
Interface BlockableAudioProcess

All Known Implementing Classes:
AudioReader, EnvelopedAudioReader

public interface BlockableAudioProcess

Interface for audio processes that might block (if data is not ready)

Author:
Paul John Leonard

Method Summary
 int getChannels()
           
 int getLengthInFrames()
           
 void processAudioBlock(uk.org.toot.audio.core.AudioBuffer buffer)
           
 

Method Detail

getLengthInFrames

int getLengthInFrames()
Returns:
length in frames OR zero if the process is still creting data

getChannels

int getChannels()

processAudioBlock

void processAudioBlock(uk.org.toot.audio.core.AudioBuffer buffer)
                       throws java.lang.Exception
Throws:
java.lang.Exception