Searched refs:silenceSkippingAudioProcessor (Results 1 – 2 of 2) sorted by relevance
44 private SilenceSkippingAudioProcessor silenceSkippingAudioProcessor; field in SilenceSkippingAudioProcessorTest48 silenceSkippingAudioProcessor = new SilenceSkippingAudioProcessor(); in setUp()54 silenceSkippingAudioProcessor.setEnabled(true); in enabledProcessor_isActive()57 silenceSkippingAudioProcessor.configure(AUDIO_FORMAT); in enabledProcessor_isActive()60 assertThat(silenceSkippingAudioProcessor.isActive()).isTrue(); in enabledProcessor_isActive()66 silenceSkippingAudioProcessor.setEnabled(false); in disabledProcessor_isNotActive()69 silenceSkippingAudioProcessor.configure(AUDIO_FORMAT); in disabledProcessor_isNotActive()72 assertThat(silenceSkippingAudioProcessor.isActive()).isFalse(); in disabledProcessor_isNotActive()79 silenceSkippingAudioProcessor.configure(AUDIO_FORMAT); in defaultProcessor_isNotEnabled()82 assertThat(silenceSkippingAudioProcessor.isActive()).isFalse(); in defaultProcessor_isNotEnabled()[all …]
129 private final SilenceSkippingAudioProcessor silenceSkippingAudioProcessor; field in DefaultAudioSink.DefaultAudioProcessorChain146 silenceSkippingAudioProcessor = new SilenceSkippingAudioProcessor(); in DefaultAudioProcessorChain()148 this.audioProcessors[audioProcessors.length] = silenceSkippingAudioProcessor; in DefaultAudioProcessorChain()175 silenceSkippingAudioProcessor.setEnabled(skipSilenceEnabled); in applySkipSilenceEnabled()186 return silenceSkippingAudioProcessor.getSkippedFrames(); in getSkippedOutputFrameCount()