ChannelCountMode

@Serializable(with = ChannelCountModeSerializer::class)
sealed interface ChannelCountMode

Enum of AudioNode::ChannelCountMode from the spec

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = ChannelCountModeSerializer::class)
data object clampedMax : ChannelCountMode
Link copied to clipboard
@Serializable(with = ChannelCountModeSerializer::class)
data object explicit : ChannelCountMode
Link copied to clipboard
@Serializable(with = ChannelCountModeSerializer::class)
data object max : ChannelCountMode
Link copied to clipboard
@Serializable(with = ChannelCountModeSerializer::class)
data class NotDefinedInProtocol(val value: String) : ChannelCountMode

This extra enum entry represents values returned by Chrome that were not defined in the protocol (for instance new values that were added later).