X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=libs%2Fardour%2Fplugin.cc;h=a93dae9e0f8f68b1909430a29160ec71c0e5f88e;hb=d2fa2450aa287b45d9b58c5ba3cb54544891cdb2;hp=11d859ed8c81fe3558d5effcd200dfb5781b0e1f;hpb=2e27e21d3a09889311e18a8efe11abcaa6d9c8b3;p=ardour.git diff --git a/libs/ardour/plugin.cc b/libs/ardour/plugin.cc index 11d859ed8c..a93dae9e0f 100644 --- a/libs/ardour/plugin.cc +++ b/libs/ardour/plugin.cc @@ -264,7 +264,7 @@ Plugin::connect_and_run (BufferSet& bufs, /* Track notes that we are sending to the plugin */ - MidiBuffer& b = bufs.get_midi (0); + const MidiBuffer& b = bufs.get_midi (0); _tracker.track (b.begin(), b.end()); @@ -389,7 +389,7 @@ XMLNode & Plugin::get_state () { XMLNode* root = new XMLNode (state_node_name ()); - LocaleGuard lg (X_("POSIX")); + LocaleGuard lg (X_("C")); root->add_property (X_("last-preset-uri"), _last_preset.uri); root->add_property (X_("last-preset-label"), _last_preset.label);