Function abortStream

Synopsis

#include <RtAudio.h>

void abortStream(void)

Description

Stop a stream, discarding any samples remaining in the input/output queue.

An RtAudioError (type = SYSTEM_ERROR) is thrown if an error occurs during processing. An RtAudioError (type = INVALID_USE) is thrown if a stream is not open. A warning is issued if the stream is already stopped.

Mentioned in

Source

Lines 878-878 in RtAudio.h. Line 570 in RtAudio.h.

inline void RtAudio :: abortStream( void ) { return rtapi_->abortStream(); }





Add Discussion as Guest

Log in