Package-level declarations
Types
Represents a supported audio container format for reading and writing.
Reads an audio file from disk and returns an AudioRecording.
Defines potential errors that can occur during the file reading process.
Defines potential errors that can occur during the file writing process.
Functions
Collects this flow and returns an in-memory buffer containing the encoded file bytes for format (WAV, AIFF, or AU).
Decodes an audio file from raw bytes (e.g. Compose resources via Res.readBytes(), network responses, or any in-memory representation).
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).
Collects this flow and writes the PCM data to a file at path.