OpusHeader

data class OpusHeader(    val version: Byte = 1,     val channelCount: Byte = 1,     val preSkip: Short = 0,     val sampleRate: Int,     val outputGain: Short = 0)

Constructors

Link copied to clipboard
fun OpusHeader(    version: Byte = 1,     channelCount: Byte = 1,     preSkip: Short = 0,     sampleRate: Int,     outputGain: Short = 0)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun getMappingFamily(): Byte
Link copied to clipboard
fun toByteArray(): ByteArray

Properties

Link copied to clipboard
val channelCount: Byte = 1
Link copied to clipboard
val outputGain: Short = 0
Link copied to clipboard
val preSkip: Short = 0
Link copied to clipboard
val sampleRate: Int
Link copied to clipboard
val version: Byte = 1