13
0

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:
Carl Hetherington 2012-06-01 18:24:38 +00:00
parent 162d672769
commit c1c5151ca4
2 changed files with 2 additions and 0 deletions

View File

@ -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;

View File

@ -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;