13
0

Add dedicated RouteProcessorChange for manual pin config

This commit is contained in:
Robin Gareus 2023-06-22 04:47:35 +02:00
parent ac801e8455
commit 6261bb3a40
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
2 changed files with 4 additions and 3 deletions

View File

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

View File

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