Package-level declarations
Extensions on com.vectencia.klarinet.AudioStream, com.vectencia.klarinet.AudioSessionManager, com.vectencia.klarinet.AudioFileReader, com.vectencia.klarinet.AudioFileWriter, and com.vectencia.klarinet.SleepTimer. The dependency line and the calls are on the Klarinet Coroutines module page.
Types
Functions
Streams decoded audio data as a Flow of chunks.
Suspends until the stream reaches the target StreamState.
Suspends until the timer reaches target.
Audio interruptions as a cold Flow.
Emits the peak audio level at a regular polling interval.
Reads and decodes all remaining audio frames on the IO dispatcher.
Reads up to maxFrames audio frames on the IO dispatcher.
Emits SleepTimer.remainingMs on a regular interval.
Audio route changes as a cold Flow.
Observes the stream's StreamState as a cold Flow.
Observes the timer's SleepTimerState as a cold Flow.
Writes audio frames on the IO dispatcher.