Interface AudioSink


public interface AudioSink
AudioSink consumes raw audio content from a AudioTrack.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    renderSample(ByteBuffer audioSample, int encoding, int sampleRate, int channels)
    Render a single audio sample.
  • Method Details

    • renderSample

      void renderSample(@NonNull ByteBuffer audioSample, int encoding, int sampleRate, int channels)
      Render a single audio sample.
      Parameters:
      audioSample - A ByteBuffer which is being delivered to the sink.