Interface AudioSink


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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void renderSample​(java.nio.ByteBuffer audioSample, int encoding, int sampleRate, int channels)
      Render a single audio sample.
    • Method Detail

      • renderSample

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