StreamCreationException

class StreamCreationException(message: String, cause: Throwable? = null) : KlarinetException

Thrown when an audio stream or effect could not be created.

Common causes include invalid stream configuration (e.g., unsupported sample rate or channel count), insufficient system resources, or a failure in the native audio backend.

Parameters

message

A human-readable description of the creation failure.

cause

The underlying exception, or null.

Constructors

Link copied to clipboard
constructor(message: String, cause: Throwable? = null)

Properties

Link copied to clipboard
expect open val cause: Throwable?
Link copied to clipboard
expect open val message: String?