missing initialization
git-svn-id: svn://localhost/ardour2/branches/3.0@11944 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
958c25f898
commit
cd78f52bd8
|
@ -40,6 +40,7 @@ std::map<std::string,DeviceInfo> DeviceInfo::device_info;
|
|||
|
||||
DeviceInfo::DeviceInfo()
|
||||
: _strip_cnt (8)
|
||||
, _extenders (0)
|
||||
, _has_two_character_display (true)
|
||||
, _has_master_fader (true)
|
||||
, _has_segmented_display (false)
|
||||
|
|
|
@ -507,9 +507,11 @@ MackieControlProtocol::set_device (const string& device_name)
|
|||
|
||||
_device_info = d->second;
|
||||
|
||||
surfaces.clear ();
|
||||
create_surfaces ();
|
||||
switch_banks (0, true);
|
||||
if (_active) {
|
||||
surfaces.clear ();
|
||||
create_surfaces ();
|
||||
switch_banks (0, true);
|
||||
}
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
@ -7,4 +7,5 @@
|
|||
<TimecodeDisplay value="yes"/>
|
||||
<TwoCharacterDisplay value="yes"/>
|
||||
<Extenders value="0"/>
|
||||
<GlobalControls value="yes"/>
|
||||
</MackieProtocolDevice>
|
||||
|
|
|
@ -7,4 +7,5 @@
|
|||
<TimecodeDisplay value="no"/>
|
||||
<TwoCharacterDisplay value="yes"/>
|
||||
<Extenders value="1"/>
|
||||
<GlobalControls value="yes"/>
|
||||
</MackieProtocolDevice>
|
||||
|
|
Loading…
Reference in New Issue
Block a user