ChannelInterpretation

@Serializable(with = ChannelInterpretationSerializer::class)
sealed interface ChannelInterpretation

Enum of AudioNode::ChannelInterpretation from the spec

Official doc

Inheritors

Types

Link copied to clipboard
@Serializable(with = ChannelInterpretationSerializer::class)
data object discrete : ChannelInterpretation
Link copied to clipboard
@Serializable(with = ChannelInterpretationSerializer::class)
data class NotDefinedInProtocol(val value: String) : ChannelInterpretation

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

Link copied to clipboard
@Serializable(with = ChannelInterpretationSerializer::class)
data object speakers : ChannelInterpretation