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()
|
DeviceInfo::DeviceInfo()
|
||||||
: _strip_cnt (8)
|
: _strip_cnt (8)
|
||||||
|
, _extenders (0)
|
||||||
, _has_two_character_display (true)
|
, _has_two_character_display (true)
|
||||||
, _has_master_fader (true)
|
, _has_master_fader (true)
|
||||||
, _has_segmented_display (false)
|
, _has_segmented_display (false)
|
||||||
|
|
|
@ -507,9 +507,11 @@ MackieControlProtocol::set_device (const string& device_name)
|
||||||
|
|
||||||
_device_info = d->second;
|
_device_info = d->second;
|
||||||
|
|
||||||
surfaces.clear ();
|
if (_active) {
|
||||||
create_surfaces ();
|
surfaces.clear ();
|
||||||
switch_banks (0, true);
|
create_surfaces ();
|
||||||
|
switch_banks (0, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
|
|
@ -7,4 +7,5 @@
|
||||||
<TimecodeDisplay value="yes"/>
|
<TimecodeDisplay value="yes"/>
|
||||||
<TwoCharacterDisplay value="yes"/>
|
<TwoCharacterDisplay value="yes"/>
|
||||||
<Extenders value="0"/>
|
<Extenders value="0"/>
|
||||||
|
<GlobalControls value="yes"/>
|
||||||
</MackieProtocolDevice>
|
</MackieProtocolDevice>
|
||||||
|
|
|
@ -7,4 +7,5 @@
|
||||||
<TimecodeDisplay value="no"/>
|
<TimecodeDisplay value="no"/>
|
||||||
<TwoCharacterDisplay value="yes"/>
|
<TwoCharacterDisplay value="yes"/>
|
||||||
<Extenders value="1"/>
|
<Extenders value="1"/>
|
||||||
|
<GlobalControls value="yes"/>
|
||||||
</MackieProtocolDevice>
|
</MackieProtocolDevice>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user