mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Enable SurroundSend Mute point when loading old sessions
This commit is contained in:
parent
d79a852207
commit
20d813cd17
2 changed files with 5 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue