MicrophoneSession

A running microphone capture session.

  • audio is a hot stream: it should emit once capture starts, even if multiple collectors attach.

  • Call stop to release underlying resources (Bluetooth streams / AudioRecord / vendor listeners).

Inheritors

Properties

Link copied to clipboard
abstract val audio: Flow<AudioChunk>
Link copied to clipboard
abstract val format: AudioFormat

Functions

Link copied to clipboard
abstract suspend fun stop()