Fix assertion failure when turning plugins off.
git-svn-id: svn://localhost/ardour2/branches/3.0@7760 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
57b362cf99
commit
d3ed5483b0
@ -369,7 +369,8 @@ PluginInsert::silence (nframes_t nframes)
|
|||||||
void
|
void
|
||||||
PluginInsert::run (BufferSet& bufs, framepos_t /*start_frame*/, framepos_t /*end_frame*/, nframes_t nframes, bool)
|
PluginInsert::run (BufferSet& bufs, framepos_t /*start_frame*/, framepos_t /*end_frame*/, nframes_t nframes, bool)
|
||||||
{
|
{
|
||||||
if (_active || _pending_active) {
|
if (_pending_active) {
|
||||||
|
/* run as normal if we are active or moving from inactive to active */
|
||||||
|
|
||||||
if (_session.transport_rolling()) {
|
if (_session.transport_rolling()) {
|
||||||
automation_run (bufs, nframes);
|
automation_run (bufs, nframes);
|
||||||
|
Loading…
Reference in New Issue
Block a user