Function stopStream


#include <RtAudio.h>

void stopStream(void)


Stop a stream, allowing any samples remaining in the output queue to be played.

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 859-859 in RtAudio.h. Line 548 in RtAudio.h.

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

Add Discussion as Guest

Log in