mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 14:54:56 +01:00
move RecordState enum from ARDOUR::Session to ARDOUR so we can use it in TriggerBox (libs)
This commit is contained in:
parent
90858279bc
commit
d7d208dc34
15 changed files with 49 additions and 55 deletions
|
|
@ -369,7 +369,7 @@ void
|
|||
BasicUI::rec_enable_toggle ()
|
||||
{
|
||||
switch (session->record_status()) {
|
||||
case Session::Disabled:
|
||||
case Disabled:
|
||||
if (session->ntracks() == 0) {
|
||||
// string txt = _("Please create 1 or more track\nbefore trying to record.\nCheck the Session menu.");
|
||||
// MessageDialog msg (*editor, txt);
|
||||
|
|
@ -378,8 +378,8 @@ BasicUI::rec_enable_toggle ()
|
|||
}
|
||||
session->maybe_enable_record ();
|
||||
break;
|
||||
case Session::Recording:
|
||||
case Session::Enabled:
|
||||
case Recording:
|
||||
case Enabled:
|
||||
session->disable_record (false, true);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue