Interface AudioPostProcessor
-
- All Known Implementing Classes:
BufferingPostProcessor,VolumePostProcessor
public interface AudioPostProcessorAudio chunk post processor.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Frees up all resources this processor is holding internally.voidprocess(long timecode, java.nio.ShortBuffer buffer)Receives chunk buffer in its final PCM format with the sample count, sample rate and channel count matching that of the output format.
-
-
-
Method Detail
-
process
void process(long timecode, java.nio.ShortBuffer buffer) throws java.lang.InterruptedExceptionReceives chunk buffer in its final PCM format with the sample count, sample rate and channel count matching that of the output format.- Parameters:
timecode- Absolute starting timecode of the chunk in millisecondsbuffer- PCM buffer of samples in the chunk- Throws:
java.lang.InterruptedException- When interrupted externally (or for seek/stop).
-
close
void close()
Frees up all resources this processor is holding internally.
-
-