Companion
Functions
Stitches multiple separately recorded segments into a single contiguous AudioRecording.
Vararg overload of concat for ergonomic call sites.
Creates an empty recording placeholder.
Creates an AudioRecording from an AudioFlow by collecting all chunks. This suspends until the flow completes.
Creates an AudioRecording from raw byte data. The data is copied to prevent external mutation.
Decodes an audio file from raw bytes (e.g. Compose resources via Res.readBytes(), network responses, or any in-memory representation).
Creates an AudioRecording from multiple byte array chunks. Each chunk is copied to prevent external mutation.
Reads an audio file from the filesystem. The format is auto-detected from the file extension.
Decodes an audio file from a Source stream (e.g. Android ContentResolver, platform input streams, or any kotlinx.io.Source).