AudioDecoderFactory

Creates audio decoders. The engine tries the factories in order and uses the first one that answers.

Properties

Link copied to clipboard
abstract val name: String

For logs and for the warning emitted when a candidate is skipped.

Functions

Link copied to clipboard
abstract suspend fun create(stream: PlayerStreamInfo): AudioDecoder?

Null when this factory cannot handle the stream. The engine then tries the next candidate.