Interface AudioInputChannel

All Superinterfaces:
AutoCloseable

@Beta public interface AudioInputChannel extends AutoCloseable
Functional interface representing audio input channel (used by audio data producer)

Should be closed by application (try-with-resources) when not needed anymore

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    inputAudio(byte[] rawBytesChunk)
    This method is sequentially invoked by audio data provider to supply implementer (consumer) with the audio data.

    Methods inherited from interface java.lang.AutoCloseable

    close
  • Method Details

    • inputAudio

      @Beta void inputAudio(byte[] rawBytesChunk)
      This method is sequentially invoked by audio data provider to supply implementer (consumer) with the audio data. Exact audio format (encoding, sampling rate, etc.) depends on the usage context
      Parameters:
      rawBytesChunk - binary data in the depending on the use case format