Add dedicated RouteProcessorChange for manual pin config
This commit is contained in:
parent
ac801e8455
commit
6261bb3a40
@ -721,7 +721,8 @@ struct RouteProcessorChange {
|
|||||||
MeterPointChange = 0x1,
|
MeterPointChange = 0x1,
|
||||||
RealTimeChange = 0x2,
|
RealTimeChange = 0x2,
|
||||||
GeneralChange = 0x4,
|
GeneralChange = 0x4,
|
||||||
SendReturnChange = 0x8
|
SendReturnChange = 0x8,
|
||||||
|
CustomPinChange = 0x10
|
||||||
};
|
};
|
||||||
|
|
||||||
RouteProcessorChange () : type (GeneralChange), meter_visibly_changed (true)
|
RouteProcessorChange () : type (GeneralChange), meter_visibly_changed (true)
|
||||||
|
@ -2488,7 +2488,7 @@ Route::customize_plugin_insert (std::shared_ptr<Processor> proc, uint32_t count,
|
|||||||
configure_processors_unlocked (0, &lm);
|
configure_processors_unlocked (0, &lm);
|
||||||
}
|
}
|
||||||
|
|
||||||
processors_changed (RouteProcessorChange ()); /* EMIT SIGNAL */
|
processors_changed (RouteProcessorChange (RouteProcessorChange::CustomPinChange, false)); /* EMIT SIGNAL */
|
||||||
_session.set_dirty ();
|
_session.set_dirty ();
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
@ -2526,7 +2526,7 @@ Route::set_strict_io (const bool enable)
|
|||||||
configure_processors (0);
|
configure_processors (0);
|
||||||
lx.release ();
|
lx.release ();
|
||||||
|
|
||||||
processors_changed (RouteProcessorChange ()); /* EMIT SIGNAL */
|
processors_changed (RouteProcessorChange (RouteProcessorChange::CustomPinChange, false)); /* EMIT SIGNAL */
|
||||||
_session.set_dirty ();
|
_session.set_dirty ();
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user