Crate rtaudio_sys

source ·

Structs

Constants

Functions

  • ! Stop a stream, discarding any samples remaining in the ! input/output queue. See \ref RtAudio::abortStream().
  • ! Return the display name of a specified rtaudio_api_t. See \ref ! RtAudio::getApiDisplayName().
  • ! 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().
  • ! Closes a stream and frees any associated stream memory. See \ref RtAudio::closeStream().
  • ! 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().
  • ! Return the rtaudio_api_t having the given name. See \ref ! RtAudio::getCompiledApiByName().
  • ! Create an instance of struct rtaudio.
  • ! Returns the audio API specifier for the current instance of ! RtAudio. See RtAudio::getCurrentApi().
  • ! Free an instance of struct rtaudio.
  • ! Queries for the number of audio devices available. See \ref ! RtAudio::getDeviceCount().
  • ! Returns the device id of the default input device. See \ref ! RtAudio::getDefaultInputDevice().
  • ! Returns the device id of the default output device. See \ref ! RtAudio::getDefaultOutputDevice().
  • ! 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().
  • ! Return a struct rtaudio_device_info for a specified device ID. ! See \ref RtAudio::getDeviceInfo().
  • ! Determine the number of available compiled audio APIs, the length ! of the array returned by rtaudio_compiled_api(). See \ref ! RtAudio::getCompiledApi().
  • ! Returns the internal stream latency in sample frames. See \ref ! RtAudio::getStreamLatency().
  • ! Returns actual sample rate in use by the stream. See \ref ! RtAudio::getStreamSampleRate().
  • ! Returns the number of elapsed seconds since the stream was ! started. See \ref RtAudio::getStreamTime().
  • ! Returns 1 if a stream is open and false if not. See \ref RtAudio::isStreamOpen().
  • ! Returns 1 if a stream is running and false if it is stopped or not ! open. See \ref RtAudio::isStreamRunning().
  • ! Opens a stream with the specified parameters. See \ref RtAudio::openStream(). ! \return an \ref rtaudio_error.
  • ! Set the stream time to a time in seconds greater than or equal to ! 0.0. See \ref RtAudio::setStreamTime().
  • ! Specify whether warning messages should be printed to stderr. See ! \ref RtAudio::showWarnings().
  • ! Starts a stream. See \ref RtAudio::startStream().
  • ! Stop a stream, allowing any samples remaining in the output queue ! to be played. See \ref RtAudio::stopStream().
  • ! Determine the current RtAudio version. See \ref RtAudio::getVersion().

Type Aliases

  • ! Audio API specifier. See \ref RtAudio::Api.
  • ! 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.
  • ! The public device information structure for returning queried values. ! See \ref RtAudio::DeviceInfo.
  • ! RtAudio error callback function prototype. *! \param err Type of error. \param msg Error description.
  • \brief Error codes for RtAudio.
  • \typedef typedef unsigned long rtaudio_format_t; \brief RtAudio data format type.
  • \typedef typedef unsigned long rtaudio_stream_flags_t; \brief RtAudio stream option flags.
  • ! The structure for specifying stream options. ! See \ref RtAudio::StreamOptions.
  • ! The structure for specifying input or output stream parameters. ! See \ref RtAudio::StreamParameters.
  • \typedef typedef unsigned long rtaudio_stream_status_t; \brief RtAudio stream status (over- or underflow) flags.