RawBytes

data class RawBytes(val data: ByteArray, val pcmFormat: PcmFormat? = null) : AudioSource

Raw audio bytes.

  • When pcmFormat is null the implementation auto-detects the container (WAV/MP3/OGG …).

  • When pcmFormat is provided the bytes are treated as headerless PCM.

Constructors

Link copied to clipboard
constructor(data: ByteArray, pcmFormat: PcmFormat? = null)

Properties

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