Interface AudioInputChannel
- All Superinterfaces:
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 TypeMethodDescriptionvoidinputAudio(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
-