Companion

object Companion

Properties

Link copied to clipboard

How long setSleepTimer fades for when the caller does not say.

Link copied to clipboard

The largest shift, either way, that setAudioDelay and setSubtitleDelay accept.

Link copied to clipboard
const val DIALOGUE_LEVEL_MAX_DB: Float = 12.0f

The most, in decibels either way, that setDialogueLevel accepts.

Link copied to clipboard
const val PITCH_MAX_SEMITONES: Double = 12.0

The most, in semitones either way, that setPitch accepts: an octave.

Link copied to clipboard
const val SPEED_MAX: Double = 4.0

The fastest setSpeed accepts.

Link copied to clipboard
const val SPEED_MIN: Double = 0.25

The slowest setSpeed accepts. One value with SPEED_MAX, stated once for UIs to read.

Functions

Link copied to clipboard
fun create(config: PlayerConfig = PlayerConfig()): KitePlayer

Builds a player from config, on the backends it names and nothing else.