SilenceSkippingAudioProcessor extends BaseAudioProcessor { @Override public boolean isActive() { return enabled; } SilenceSkippingAudioProcessor(); void setEnabled(boolean enabled); long getSkippedFrames(); @Override AudioFormat onConfigure(AudioFormat inputAudioFormat); @Override boolean isActive(); @Override void queueInput(ByteBuffer inputBuffer);  }
@Test public void testDefaultProcessor_isNotEnabled() throws Exception { silenceSkippingAudioProcessor.configure(AUDIO_FORMAT); assertThat(silenceSkippingAudioProcessor.isActive()).isFalse(); }