AudioChunk

data class AudioChunk(val bytes: ByteArray, val format: AudioFormat, val sequence: Long, val timestampMs: Long = nowMillis(), val endOfStream: Boolean = false)

Constructors

Link copied to clipboard
constructor(bytes: ByteArray, format: AudioFormat, sequence: Long, timestampMs: Long = nowMillis(), endOfStream: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard

True when this chunk indicates end-of-stream (may have empty bytes).

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int