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:
Tim Mayberry 2016-09-04 21:00:14 +10:00
parent ecaadaf246
commit 777bdeb8bf

View File

@ -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 */