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 c180443 commit 47854d9Copy full SHA for 47854d9
src/AudioTools/CoreAudio/AudioStreams.h
@@ -792,6 +792,12 @@ class MeasuringStream : public ModifyingStream {
792
return estimatedTotalTimeFor(totalBytes) -timeSinceBegin();
793
}
794
795
+ /// Alternative update method: e.g report actual file positon
796
+ void setProcessedBytes(uint32_t pos) {
797
+ if (pos < total_bytes_since_begin) begin();
798
+ total_bytes_since_begin = pos;
799
+ }
800
+
801
protected:
802
int max_count=0;
803
int count=0;
0 commit comments