Function abortStream


#include <RtAudio.h>

void abortStream(void)


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


Lines 860-860 in RtAudio.h. Line 557 in RtAudio.h.

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

Add Discussion as Guest

Log in