AudioFormatSupport

sealed interface AudioFormatSupport

Represents the knowability of a device's supported audio formats.

Inheritors

Types

Link copied to clipboard
data class Known(val supportedFormats: List<AudioFormat>, val defaultFormat: AudioFormat) : AudioFormatSupport

Represents the case where the platform can provide a definitive list of supported formats and a default format. (e.g., JVM)

Link copied to clipboard

Represents the case where the platform cannot determine the specific supported formats. The library should rely on common standards. (e.g., JavaScript)

Properties

Link copied to clipboard