Enable SurroundSend Mute point when loading old sessions
This commit is contained in:
parent
d79a852207
commit
20d813cd17
@ -146,13 +146,16 @@ MuteMaster::set_mute_points (MutePoint mp)
|
||||
}
|
||||
|
||||
int
|
||||
MuteMaster::set_state (const XMLNode& node, int /*version*/)
|
||||
MuteMaster::set_state (const XMLNode& node, int version)
|
||||
{
|
||||
node.get_property ("mute-point", _mute_point);
|
||||
|
||||
if (!node.get_property ("muted", _muted_by_self)) {
|
||||
_muted_by_self = (_mute_point != MutePoint (0));
|
||||
}
|
||||
if (version < 7003 && Config->get_mute_affects_surround_sends ()) {
|
||||
_muted_by_self |= SurroundSend;
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ import os
|
||||
import re
|
||||
|
||||
# default state file version for this build
|
||||
CURRENT_SESSION_FILE_VERSION = 7002
|
||||
CURRENT_SESSION_FILE_VERSION = 7003
|
||||
|
||||
I18N_PACKAGE = 'ardour'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user