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 611144b commit 538095fCopy full SHA for 538095f
src/AudioTools/CoreAudio/AudioIO.h
@@ -449,6 +449,19 @@ class TimedStream : public ModifyingStream {
449
setStartSec(startSeconds);
450
setEndSec(endSeconds);
451
}
452
+
453
+ TimedStream(Stream &io, long startSeconds = 0, long endSeconds = -1) {
454
+ p_stream = &io;
455
+ p_print = &io;
456
+ setStartSec(startSeconds);
457
+ setEndSec(endSeconds);
458
+ }
459
460
+ TimedStream(Print &o, long startSeconds = 0, long endSeconds = -1) {
461
+ p_print = &o;
462
463
464
465
466
/// Defines the start time in seconds. The audio before the start time will be
467
/// skipped
0 commit comments