Prevent latency measurement output buffer being silenced by
cycle_end, to fix port insert latency measurement (#4504). git-svn-id: svn://localhost/ardour2/branches/3.0@12530 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
162d672769
commit
c1c5151ca4
@ -173,6 +173,7 @@ public:
|
||||
|
||||
void prepare () { _written = false; _silent = false; }
|
||||
bool written() const { return _written; }
|
||||
void set_written(bool w) { _written = w; }
|
||||
|
||||
private:
|
||||
bool _owns_data;
|
||||
|
@ -117,6 +117,7 @@ PortInsert::run (BufferSet& bufs, framepos_t start_frame, framepos_t end_frame,
|
||||
_mtdm->process (nframes, in, out);
|
||||
|
||||
outbuf.set_is_silent (false);
|
||||
outbuf.set_written (true);
|
||||
}
|
||||
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user