Structs§
- rtaudio
- rtaudio_
device_ info - ! The public device information structure for returning queried values. ! See \ref RtAudio::DeviceInfo.
- rtaudio_
stream_ options - ! The structure for specifying stream options. ! See \ref RtAudio::StreamOptions.
- rtaudio_
stream_ parameters - ! The structure for specifying input or output stream parameters. ! See \ref RtAudio::StreamParameters.
Constants§
- MAX_
NAME_ LENGTH - NUM_
SAMPLE_ RATES - RTAUDIO_
API_ DUMMY - < A compilable but non-functional API.
- RTAUDIO_
API_ LINUX_ ALSA - < The Advanced Linux Sound Architecture API.
- RTAUDIO_
API_ LINUX_ OSS - < The Linux Open Sound System API.
- RTAUDIO_
API_ LINUX_ PULSE - < The Linux PulseAudio API.
- RTAUDIO_
API_ MACOSX_ CORE - < Macintosh OS-X Core Audio API.
- RTAUDIO_
API_ NUM - < Number of values in this enum.
- RTAUDIO_
API_ UNIX_ JACK - < The Jack Low-Latency Audio Server API.
- RTAUDIO_
API_ UNSPECIFIED - < Search for a working compiled API.
- RTAUDIO_
API_ WINDOWS_ ASIO - < The Steinberg Audio Stream I/O API.
- RTAUDIO_
API_ WINDOWS_ DS - < The Microsoft DirectSound API.
- RTAUDIO_
API_ WINDOWS_ WASAPI - < The Microsoft WASAPI API.
- RTAUDIO_
ERROR_ DEVICE_ DISCONNECT - < A device in use was disconnected.
- RTAUDIO_
ERROR_ DRIVER_ ERROR - < A system driver error occurred.
- RTAUDIO_
ERROR_ INVALID_ DEVICE - < An invalid device ID was specified.
- RTAUDIO_
ERROR_ INVALID_ PARAMETER - < An invalid parameter was specified to a function.
- RTAUDIO_
ERROR_ INVALID_ USE - < The function was called incorrectly.
- RTAUDIO_
ERROR_ MEMORY_ ERROR - < An error occurred during memory allocation.
- RTAUDIO_
ERROR_ NONE - < No error.
- RTAUDIO_
ERROR_ NO_ DEVICES_ FOUND - < No devices found on system.
- RTAUDIO_
ERROR_ SYSTEM_ ERROR - < A system error occurred.
- RTAUDIO_
ERROR_ THREAD_ ERROR - < A thread error occurred.
- RTAUDIO_
ERROR_ UNKNOWN - < An unspecified error type.
- RTAUDIO_
ERROR_ WARNING - < A non-critical error.
- RTAUDIO_
FLAGS_ ALSA_ USE_ DEFAULT - RTAUDIO_
FLAGS_ HOG_ DEVICE - RTAUDIO_
FLAGS_ JACK_ DONT_ CONNECT - RTAUDIO_
FLAGS_ MINIMIZE_ LATENCY - RTAUDIO_
FLAGS_ NONINTERLEAVED - RTAUDIO_
FLAGS_ SCHEDULE_ REALTIME - RTAUDIO_
FORMAT_ FLOA T32 - RTAUDIO_
FORMAT_ FLOA T64 - RTAUDIO_
FORMAT_ SINT8 - RTAUDIO_
FORMAT_ SINT16 - RTAUDIO_
FORMAT_ SINT24 - RTAUDIO_
FORMAT_ SINT32 - RTAUDIO_
STATUS_ INPUT_ OVERFLOW - RTAUDIO_
STATUS_ OUTPUT_ UNDERFLOW
Functions§
- rtaudio_
abort_ ⚠stream - ! Stop a stream, discarding any samples remaining in the ! input/output queue. See \ref RtAudio::abortStream().
- rtaudio_
api_ ⚠display_ name - ! Return the display name of a specified rtaudio_api_t. See \ref ! RtAudio::getApiDisplayName().
- rtaudio_
api_ ⚠name - ! Return the name of a specified rtaudio_api_t. This string can be ! used to look up an API by rtaudio_compiled_api_by_name(). See ! \ref RtAudio::getApiName().
- rtaudio_
close_ ⚠stream - ! Closes a stream and frees any associated stream memory. See \ref RtAudio::closeStream().
- rtaudio_
compiled_ ⚠api - ! Return an array of rtaudio_api_t compiled into this instance of ! RtAudio. This array is static (do not free it) and has the length ! returned by rtaudio_get_num_compiled_apis(). See \ref ! RtAudio::getCompiledApi().
- rtaudio_
compiled_ ⚠api_ by_ name - ! Return the rtaudio_api_t having the given name. See \ref ! RtAudio::getCompiledApiByName().
- rtaudio_
create ⚠ - ! Create an instance of struct rtaudio.
- rtaudio_
current_ ⚠api - ! Returns the audio API specifier for the current instance of ! RtAudio. See RtAudio::getCurrentApi().
- rtaudio_
destroy ⚠ - ! Free an instance of struct rtaudio.
- rtaudio_
device_ ⚠count - ! Queries for the number of audio devices available. See \ref ! RtAudio::getDeviceCount().
- rtaudio_
error ⚠ - rtaudio_
error_ ⚠type - rtaudio_
get_ ⚠default_ input_ device - ! Returns the device id of the default input device. See \ref ! RtAudio::getDefaultInputDevice().
- rtaudio_
get_ ⚠default_ output_ device - ! Returns the device id of the default output device. See \ref ! RtAudio::getDefaultOutputDevice().
- rtaudio_
get_ ⚠device_ id - ! Returns the audio device ID corresponding to a given index ! value (valid index values are between 0 and rtaudio_device_count()-1). ! Note that a return value of 0 is invalid, which will occur if the ! index value is out of bounds or no devices are found. See \ref ! RtAudio::getDeviceIds().
- rtaudio_
get_ ⚠device_ info - ! Return a struct rtaudio_device_info for a specified device ID. ! See \ref RtAudio::getDeviceInfo().
- rtaudio_
get_ ⚠num_ compiled_ apis - ! Determine the number of available compiled audio APIs, the length ! of the array returned by rtaudio_compiled_api(). See \ref ! RtAudio::getCompiledApi().
- rtaudio_
get_ ⚠stream_ latency - ! Returns the internal stream latency in sample frames. See \ref ! RtAudio::getStreamLatency().
- rtaudio_
get_ ⚠stream_ sample_ rate - ! Returns actual sample rate in use by the stream. See \ref ! RtAudio::getStreamSampleRate().
- rtaudio_
get_ ⚠stream_ time - ! Returns the number of elapsed seconds since the stream was ! started. See \ref RtAudio::getStreamTime().
- rtaudio_
is_ ⚠stream_ open - ! Returns 1 if a stream is open and false if not. See \ref RtAudio::isStreamOpen().
- rtaudio_
is_ ⚠stream_ running - ! Returns 1 if a stream is running and false if it is stopped or not ! open. See \ref RtAudio::isStreamRunning().
- rtaudio_
open_ ⚠stream - ! Opens a stream with the specified parameters. See \ref RtAudio::openStream(). ! \return an \ref rtaudio_error.
- rtaudio_
set_ ⚠stream_ time - ! Set the stream time to a time in seconds greater than or equal to ! 0.0. See \ref RtAudio::setStreamTime().
- rtaudio_
show_ ⚠warnings - ! Specify whether warning messages should be printed to stderr. See ! \ref RtAudio::showWarnings().
- rtaudio_
start_ ⚠stream - ! Starts a stream. See \ref RtAudio::startStream().
- rtaudio_
stop_ ⚠stream - ! Stop a stream, allowing any samples remaining in the output queue ! to be played. See \ref RtAudio::stopStream().
- rtaudio_
version ⚠ - ! Determine the current RtAudio version. See \ref RtAudio::getVersion().
Type Aliases§
- rtaudio_
api_ t - ! Audio API specifier. See \ref RtAudio::Api.
- rtaudio_
cb_ t - ! RtAudio callback function prototype. *! All RtAudio clients must create a function of this type to read and/or write data from/to the audio stream. When the underlying audio system is ready for new input or output data, this function will be invoked.
- rtaudio_
device_ info_ t - ! The public device information structure for returning queried values. ! See \ref RtAudio::DeviceInfo.
- rtaudio_
error_ cb_ t - ! RtAudio error callback function prototype. *! \param err Type of error. \param msg Error description.
- rtaudio_
error_ t - \brief Error codes for RtAudio.
- rtaudio_
format_ t - \typedef typedef unsigned long rtaudio_format_t; \brief RtAudio data format type.
- rtaudio_
stream_ flags_ t - \typedef typedef unsigned long rtaudio_stream_flags_t; \brief RtAudio stream option flags.
- rtaudio_
stream_ options_ t - ! The structure for specifying stream options. ! See \ref RtAudio::StreamOptions.
- rtaudio_
stream_ parameters_ t - ! The structure for specifying input or output stream parameters. ! See \ref RtAudio::StreamParameters.
- rtaudio_
stream_ status_ t - \typedef typedef unsigned long rtaudio_stream_status_t; \brief RtAudio stream status (over- or underflow) flags.
- rtaudio_
t