Skip to content
CShift0.45

AudioError

Error enum · namespace System.Audio · Since 0.38

error AudioError

The errors of opening an AudioOutput.

Value Number Description
NotSupported 1 The target has no sound output: WebAssembly outside of a browser, AmigaOS.
NoDevice 2 There is no device to play on (Linux: libasound is missing, or no sound card or sound server; macOS, which has no ALSA, for now).
CannotOpen 3 The device refused the format (the sample rate or the number of channels), or it is in use.