summaryrefslogtreecommitdiff
path: root/libs/ardour/ladspa_plugin.cc
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-06-01 16:50:12 +0000
committerDavid Robillard <d@drobilla.net>2011-06-01 16:50:12 +0000
commita473d630eb165272992e90f8d854b1d66ec0be63 (patch)
treed0d027d4e53cb3883f4098c4736651d0ae89c19a /libs/ardour/ladspa_plugin.cc
parenta46cea06e29bfdb18e0199a665caf5a34d388968 (diff)
Fix broken whitespace. I'd apologize for the compile times if it was my fault :D
git-svn-id: svn://localhost/ardour2/branches/3.0@9654 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/ladspa_plugin.cc')
-rw-r--r--libs/ardour/ladspa_plugin.cc14
1 files changed, 7 insertions, 7 deletions
diff --git a/libs/ardour/ladspa_plugin.cc b/libs/ardour/ladspa_plugin.cc
index f5426500a4..1fc8b2f1a0 100644
--- a/libs/ardour/ladspa_plugin.cc
+++ b/libs/ardour/ladspa_plugin.cc
@@ -283,7 +283,7 @@ LadspaPlugin::set_parameter (uint32_t which, float val)
if (which < _descriptor->PortCount) {
_shadow_data[which] = (LADSPA_Data) val;
-#if 0
+#if 0
if (which < parameter_count() && controls[which]) {
controls[which]->Changed ();
}
@@ -544,7 +544,7 @@ LadspaPlugin::connect_and_run (BufferSet& bufs,
pframes_t nframes, framecnt_t offset)
{
Plugin::connect_and_run (bufs, in_map, out_map, nframes, offset);
-
+
cycles_t now;
cycles_t then = get_cycles ();
@@ -637,7 +637,7 @@ LadspaPlugin::run_in_place (pframes_t nframes)
}
assert (_was_activated);
-
+
_descriptor->run (_handle, nframes);
}
@@ -768,7 +768,7 @@ lrdf_remove_preset (const char *source, const char *setting_uri)
lrdf_statement *i;
char setting_uri_copy[64];
char buf[64];
-
+
strncpy(setting_uri_copy, setting_uri, sizeof(setting_uri_copy));
p.subject = setting_uri_copy;
@@ -811,7 +811,7 @@ LadspaPlugin::do_remove_preset (string name)
if (!p) {
return;
}
-
+
string const source = preset_source (envvar);
lrdf_remove_preset (source.c_str(), p->uri.c_str ());
@@ -825,7 +825,7 @@ LadspaPlugin::preset_envvar () const
if ((envvar = getenv ("HOME")) == 0) {
return "";
}
-
+
return envvar;
}
@@ -870,7 +870,7 @@ LadspaPlugin::do_save_preset (string name)
input_parameter_pids.push_back (i);
}
}
-
+
std::string unique (unique_id());
if (!isdigit (unique[0])) {