mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-07 06:05:43 +01:00
allow flags to be setable from the MixerSnapshotDialog
This commit is contained in:
parent
b683546ab7
commit
a5ef2cd27e
4 changed files with 89 additions and 9 deletions
|
|
@ -73,11 +73,11 @@ class LIBARDOUR_API MixerSnapshot
|
|||
std::vector<State> get_groups() {return group_states;};
|
||||
std::vector<State> get_vcas() {return vca_states;};
|
||||
|
||||
bool recall_eq() { return _flags & RecallEQ;};
|
||||
bool recall_comp() { return _flags & RecallComp;};
|
||||
bool recall_io() { return _flags & RecallIO;};
|
||||
bool recall_group() { return _flags & RecallGroup;};
|
||||
bool recall_vca() { return _flags & RecallVCA;};
|
||||
bool recall_eq() const { return _flags & RecallEQ;};
|
||||
bool recall_comp() const { return _flags & RecallComp;};
|
||||
bool recall_io() const { return _flags & RecallIO;};
|
||||
bool recall_group() const { return _flags & RecallGroup;};
|
||||
bool recall_vca() const { return _flags & RecallVCA;};
|
||||
|
||||
void set_recall_eq(bool);
|
||||
void set_recall_comp(bool);
|
||||
|
|
|
|||
|
|
@ -361,10 +361,6 @@ void MixerSnapshot::write(const string path)
|
|||
return;
|
||||
}
|
||||
|
||||
set_recall_eq(true);
|
||||
set_recall_io(true);
|
||||
set_recall_vca(true);
|
||||
|
||||
XMLNode* node = new XMLNode("MixerSnapshot");
|
||||
node->set_property(X_("flags"), _flags);
|
||||
node->set_property(X_("favorite"), favorite);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue