move RecordState enum from ARDOUR::Session to ARDOUR so we can use it in TriggerBox (libs)

This commit is contained in:
Paul Davis
2024-09-30 16:04:12 -06:00
parent 90858279bc
commit d7d208dc34
15 changed files with 49 additions and 55 deletions

View File

@@ -736,15 +736,15 @@ Push2::notify_record_state_changed ()
}
switch (session->record_status ()) {
case Session::Disabled:
case Disabled:
b->second->set_color (LED::White);
b->second->set_state (LED::NoTransition);
break;
case Session::Enabled:
case Enabled:
b->second->set_color (LED::Red);
b->second->set_state (LED::Blinking4th);
break;
case Session::Recording:
case Recording:
b->second->set_color (LED::Red);
b->second->set_state (LED::OneShot24th);
break;