Interface TeeAudioProcessor.AudioBufferSink

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void flush​(int sampleRateHz, int channelCount, int encoding)
      Called when the audio processor is flushed with a format of subsequent input.
      void handleBuffer​(ByteBuffer buffer)
      Called when data is written to the audio processor.
    • Method Detail

      • flush

        void flush​(int sampleRateHz,
                   int channelCount,
                   @PcmEncoding
                   int encoding)
        Called when the audio processor is flushed with a format of subsequent input.
      • handleBuffer

        void handleBuffer​(ByteBuffer buffer)
        Called when data is written to the audio processor.
        Parameters:
        buffer - A read-only buffer containing input which the audio processor will handle.