mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-16 19:56:31 +01:00
Revert previous commit, adding comment as to why.
git-svn-id: svn://localhost/ardour2/branches/3.0@7822 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
f7d973476c
commit
e6ecd36b26
1 changed files with 8 additions and 0 deletions
|
|
@ -1095,6 +1095,14 @@ Session::maybe_enable_record ()
|
||||||
|
|
||||||
g_atomic_int_set (&_record_status, Enabled);
|
g_atomic_int_set (&_record_status, Enabled);
|
||||||
|
|
||||||
|
/* This function is currently called from somewhere other than an RT thread.
|
||||||
|
This save_state() call therefore doesn't impact anything. Doing it here
|
||||||
|
means that we save pending state of which sources the next record will use,
|
||||||
|
which gives us some chance of recovering from a crash during the record.
|
||||||
|
*/
|
||||||
|
|
||||||
|
save_state ("", true);
|
||||||
|
|
||||||
if (_transport_speed) {
|
if (_transport_speed) {
|
||||||
if (!config.get_punch_in()) {
|
if (!config.get_punch_in()) {
|
||||||
enable_record ();
|
enable_record ();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue