Remove LocaleGuard from ARDOUR::AudioDiskstream state methods
There are no float <=> string conversions and they are all now performed using PBD::to_string/string_to via XMLNode
This commit is contained in:
parent
eb5161b601
commit
47b1f0869b
@ -1905,7 +1905,6 @@ XMLNode&
|
||||
AudioDiskstream::get_state ()
|
||||
{
|
||||
XMLNode& node (Diskstream::get_state());
|
||||
LocaleGuard lg;
|
||||
|
||||
boost::shared_ptr<ChannelList> c = channels.reader();
|
||||
node.set_property ("channels", (uint32_t)c->size());
|
||||
@ -1945,7 +1944,6 @@ AudioDiskstream::set_state (const XMLNode& node, int version)
|
||||
XMLNodeList nlist = node.children();
|
||||
XMLNodeIterator niter;
|
||||
XMLNode* capture_pending_node = 0;
|
||||
LocaleGuard lg;
|
||||
|
||||
/* prevent write sources from being created */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user