|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SoundProcessor
Method Summary | |
---|---|
void |
cleanup()
Called when the SoundProcessor is being destroyed, and there are no more samples to process. |
void |
process(java.nio.ByteBuffer audioSamples,
int numSamples,
javax.sound.sampled.AudioFormat format)
Called whenever there are new audio samples to process. |
Method Detail |
---|
void cleanup()
void process(java.nio.ByteBuffer audioSamples, int numSamples, javax.sound.sampled.AudioFormat format)
audioSamples
- a ByteBuffer containing processed audio
samplesnumSamples
- the number of samples, in bytes, that are validformat
- the format of the audio samples in audioSamples
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |