13
0

Remove LocaleGuard from AudioFileSource::get_state

Not necessary when using XMLNode::set_property API
This commit is contained in:
Tim Mayberry 2017-01-01 21:34:35 +10:00
parent 47b1f0869b
commit 2e4277ad7b

View File

@ -207,7 +207,6 @@ AudioFileSource::get_soundfile_info (const string& path, SoundFileInfo& _info, s
XMLNode& XMLNode&
AudioFileSource::get_state () AudioFileSource::get_state ()
{ {
LocaleGuard lg;
XMLNode& root (AudioSource::get_state()); XMLNode& root (AudioSource::get_state());
root.set_property (X_("channel"), _channel); root.set_property (X_("channel"), _channel);
root.set_property (X_("origin"), _origin); root.set_property (X_("origin"), _origin);