#[repr(u32)]pub enum SoundIoError {
Show 16 variants
SoundIoErrorNone = 0,
SoundIoErrorNoMem = 1,
SoundIoErrorInitAudioBackend = 2,
SoundIoErrorSystemResources = 3,
SoundIoErrorOpeningDevice = 4,
SoundIoErrorNoSuchDevice = 5,
SoundIoErrorInvalid = 6,
SoundIoErrorBackendUnavailable = 7,
SoundIoErrorStreaming = 8,
SoundIoErrorIncompatibleDevice = 9,
SoundIoErrorNoSuchClient = 10,
SoundIoErrorIncompatibleBackend = 11,
SoundIoErrorBackendDisconnected = 12,
SoundIoErrorInterrupted = 13,
SoundIoErrorUnderflow = 14,
SoundIoErrorEncodingString = 15,
}Expand description
\mainpage
\section intro_sec Overview
libsoundio is a C library for cross-platform audio input and output. It is suitable for real-time and consumer software.
Documentation: soundio.h \example sio_list_devices.c List the available input and output devices on the system and their properties. Supports watching for changes and specifying backend to use. \example sio_sine.c Play a sine wave over the default output device. Supports specifying device and backend to use. \example sio_record.c Record audio to an output file. Supports specifying device and backend to use. \example sio_microphone.c Stream the default input device over the default output device. Supports specifying device and backend to use. \example backend_disconnect_recover.c Demonstrates recovering from a backend disconnecting.
Variants§
SoundIoErrorNone = 0
SoundIoErrorNoMem = 1
SoundIoErrorInitAudioBackend = 2
SoundIoErrorSystemResources = 3
SoundIoErrorOpeningDevice = 4
SoundIoErrorNoSuchDevice = 5
SoundIoErrorInvalid = 6
SoundIoErrorStreaming = 8
SoundIoErrorIncompatibleDevice = 9
SoundIoErrorNoSuchClient = 10
SoundIoErrorIncompatibleBackend = 11
SoundIoErrorBackendDisconnected = 12
SoundIoErrorInterrupted = 13
SoundIoErrorUnderflow = 14
SoundIoErrorEncodingString = 15
Trait Implementations§
Source§impl Clone for SoundIoError
impl Clone for SoundIoError
Source§fn clone(&self) -> SoundIoError
fn clone(&self) -> SoundIoError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more