AudioFlowWireFormat

Wire format used by the Kodio Ktor helpers.

The first frame on the socket is the binary AudioFormat header (encoded via AudioFormat.encodeToByteArray and prefixed with MAGIC); every subsequent binary frame is one raw PCM chunk in that format.

Properties

Link copied to clipboard
const val MAGIC: String

Short ASCII tag prefixed to the format header for sanity checks.