Searched refs:trimmingAudioProcessor (Results 1 – 2 of 2) sorted by relevance
48 private TrimmingAudioProcessor trimmingAudioProcessor; field in TrimmingAudioProcessorTest52 trimmingAudioProcessor = new TrimmingAudioProcessor(); in setUp()57 trimmingAudioProcessor.reset(); in tearDown()62 trimmingAudioProcessor.setTrimFrameCount( in flushTwice_trimsStartAndEnd()64 trimmingAudioProcessor.configure(AUDIO_FORMAT); in flushTwice_trimsStartAndEnd()65 trimmingAudioProcessor.flush(); in flushTwice_trimsStartAndEnd()66 trimmingAudioProcessor.flush(); in flushTwice_trimsStartAndEnd()70 assertThat(trimmingAudioProcessor.getTrimmedFrameCount()) in flushTwice_trimsStartAndEnd()83 while (!trimmingAudioProcessor.isEnded()) { in feedAndDrainAudioProcessorToEndOfTrackOne()85 trimmingAudioProcessor.queueInput(inputBuffer); in feedAndDrainAudioProcessorToEndOfTrackOne()[all …]
261 private final TrimmingAudioProcessor trimmingAudioProcessor; field in DefaultAudioSink364 trimmingAudioProcessor = new TrimmingAudioProcessor(); in DefaultAudioSink()370 trimmingAudioProcessor); in DefaultAudioSink()454 trimmingAudioProcessor.setTrimFrameCount(trimStartFrames, trimEndFrames); in configure()662 getSubmittedFrames() - trimmingAudioProcessor.getTrimmedFrameCount()); in handleBuffer()1000 trimmingAudioProcessor.resetTrimmedFrameCount(); in flush()