AudioTrackSinkFactory

Creates AudioTrackSinks for the engine. One sink per playback session.

With a context, it can also say how many channels the route media plays through carries, which io.github.yuroyami.kiteplayer.AudioConfig.matchOutputChannels needs (#466). Without one it cannot, because Android answers that only through a Context.

Constructors

Link copied to clipboard
constructor(context: Context?)
constructor()

Properties

Link copied to clipboard
open override val name: String

Functions

Link copied to clipboard
open suspend override fun create(): AudioSink
Link copied to clipboard
open override fun outputChannelCount(): Int?