Fixed Recorder and Session to allow transfer of recorders when changing

session.
This commit is contained in:
brunoherbelin
2020-07-27 11:45:15 +02:00
parent 60880a1a8b
commit 3f782736ac
6 changed files with 76 additions and 68 deletions

View File

@@ -672,6 +672,9 @@ void Mixer::swap()
session_ = back_session_;
back_session_ = tmp;
// swap recorders
back_session_->transferRecorders(session_);
// attach new session's nodes to views
for (auto source_iter = session_->begin(); source_iter != session_->end(); source_iter++)
{