Interface AudioFilter
-
- All Known Subinterfaces:
FloatPcmAudioFilter,ShortPcmAudioFilter,SplitShortPcmAudioFilter,UniversalPcmAudioFilter
- All Known Implementing Classes:
AudioPipeline,ChannelCountPcmAudioFilter,CompositeAudioFilter,ConverterAudioFilter,Equalizer,FinalPcmAudioFilter,ResamplingPcmAudioFilter,ToFloatAudioFilter,ToShortAudioFilter,ToSplitShortAudioFilter,UserProvidedAudioFilters
public interface AudioFilterA filter for audio samples
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidclose()Free all resources.voidflush()Flush everything to output.voidseekPerformed(long requestedTime, long providedTime)Indicates that the next samples are not a continuation from the previous ones and gives the timecode for the next incoming sample.
-
-
-
Method Detail
-
seekPerformed
void seekPerformed(long requestedTime, long providedTime)Indicates that the next samples are not a continuation from the previous ones and gives the timecode for the next incoming sample.- Parameters:
requestedTime- Timecode in milliseconds to which the seek was requested toprovidedTime- Timecode in milliseconds to which the seek was actually performed to
-
flush
void flush() throws java.lang.InterruptedExceptionFlush everything to output.- Throws:
java.lang.InterruptedException- When interrupted externally (or for seek/stop).
-
close
void close()
Free all resources. No more input is expected.
-
-