Crate rtaudio

Crate rtaudio 

Source

Structs§

DeviceID
A unique identifier for an audio device that persists across reboots.
DeviceInfo
Queried information about a device.
DeviceParams
Used for specifying the parameters of a device when opening a stream.
FindDeviceInfo
Host
An RtAudio Host instance. This is used to enumerate audio devices before opening a stream.
NativeFormats
The native formats this device supports.
RtAudioError
StreamFlags
Stream option flags.
StreamHandle
A handle to an opened RtAudio stream.
StreamInfo
Information about a running RtAudio stream.
StreamOptions
Additional options for opening a stream.
StreamStatus
Stream status (over- or underflow) flags.

Enums§

Api
Buffers
The input/output audio buffers.
RtAudioErrorType
SampleFormat
The sample format type.

Constants§

DEFAULT_BUFFER_FRAMES
The default number of frames that can appear in a single process call.

Functions§

compiled_apis
Get the list of APIs compiled into this instance of RtAudio.
set_error_callback
Set the global error handling callback that will be called whenever there is an error that causes an audio stream to close. When an error is received, all streams from all hosts should be manually closed or dropped.
version
Get the current RtAudio version.

Type Aliases§

SessionID
A unique identifier for a device for the current session.