Home
last modified time | relevance | path

Searched refs:trimmingAudioProcessor (Results 1 – 2 of 2) sorted by relevance

/external/exoplayer/tree/library/core/src/test/java/com/google/android/exoplayer2/audio/
DTrimmingAudioProcessorTest.java48 private TrimmingAudioProcessor trimmingAudioProcessor; field in TrimmingAudioProcessorTest
52 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 …]
/external/exoplayer/tree/library/core/src/main/java/com/google/android/exoplayer2/audio/
DDefaultAudioSink.java261 private final TrimmingAudioProcessor trimmingAudioProcessor; field in DefaultAudioSink
364 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()