Function getStreamSampleRate


#include <RtAudio.h>

unsigned int getStreamSampleRate(void)


Returns actual sample rate in use by the stream.

On some systems, the sample rate used may be slightly different than that specified in the stream parameters. If a stream is not open, an RtAudioError (type = INVALID_USE) will be thrown.


Lines 864-864 in RtAudio.h. Line 594 in RtAudio.h.

inline unsigned int RtAudio :: getStreamSampleRate( void ) { return rtapi_->getStreamSampleRate(); }

Add Discussion as Guest

Log in