mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-26 15:08:17 +01:00
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
ecaadaf246
commit
777bdeb8bf
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue