AudioError
Sealed hierarchy representing all possible audio-related errors.
Using sealed classes provides exhaustive when-expressions and clear error categorization.
Note: Simple error types use classes (not objects) to ensure proper stack traces are captured when the error is created.
Inheritors
Types
A playback session is already active.
A recording is already in progress.
A device-level error occurred during recording or playback.
The requested audio device was not found or is unavailable.
The current platform does not support pinning a specific input/output device.
The requested audio format is not supported by the device.
No recording data available.
Kodio has not been initialized. Call Kodio.initialize() first.
Microphone or audio permission was denied by the user.
An unknown or unexpected error occurred.