mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-12 02:40:00 +01:00
Refactoring Session saving
use Session::save static method to save a session from a thread (same mechanism as Session::load). It calls Action::takeSnapshot if saving version is required. Mixer is busy during saving, pops up info when done.
This commit is contained in:
2
Mixer.h
2
Mixer.h
@@ -110,6 +110,7 @@ public:
|
||||
void merge (SessionSource *source);
|
||||
void set (Session *session);
|
||||
void setResolution(glm::vec3 res);
|
||||
bool busy () const { return busy_; }
|
||||
|
||||
// operations depending on transition mode
|
||||
void close (bool smooth = false);
|
||||
@@ -146,6 +147,7 @@ protected:
|
||||
TextureView appearance_;
|
||||
TransitionView transition_;
|
||||
|
||||
bool busy_;
|
||||
float dt_;
|
||||
float dt__;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user