We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fd2fb9 commit 0786f88Copy full SHA for 0786f88
src/AudioTools/CoreAudio/AudioStreams.h
@@ -735,6 +735,12 @@ class MeasuringStream : public ModifyingStream {
735
return bytes_per_second;
736
}
737
738
+ /// Returns the actual thrughput in frames (samples) per second
739
+ int framesPerSecond() {
740
+ if (frame_size==0) return 0;
741
+ return bytes_per_second/frame_size;
742
+ }
743
+
744
/// Provides the time when the last measurement was started
745
uint32_t startTime() {
746
return start_time;
0 commit comments