rtaudio_stream_status_t

Type Alias rtaudio_stream_status_t 

Source
pub type rtaudio_stream_status_t = c_uint;
Expand description

\typedef typedef unsigned long rtaudio_stream_status_t; \brief RtAudio stream status (over- or underflow) flags.

Notification of a stream over- or underflow is indicated by a non-zero stream \c status argument in the RtAudioCallback function. The stream status can be one of the following two options, depending on whether the stream is open for output and/or input:

  • \e RTAUDIO_STATUS_INPUT_OVERFLOW: Input data was discarded because of an overflow condition at the driver.
  • \e RTAUDIO_STATUS_OUTPUT_UNDERFLOW: The output buffer ran low, likely producing a break in the output sound.

See \ref RtAudioStreamStatus.