Package 

Interface AudioSink


  • 
    public interface AudioSink
    
                        

    AudioSink consumes raw audio content from a AudioTrack.

    • Method Summary

      Modifier and Type Method Description
      abstract void renderSample(@NonNull() ByteBuffer audioSample, int encoding, int sampleRate, int channels) Render a single audio sample.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • renderSample

         abstract 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.