aboutsummaryrefslogtreecommitdiffstats
path: root/src/power_4400.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2009-05-13 16:04:14 +0000
committerDavid Robillard <d@drobilla.net>2009-05-13 16:04:14 +0000
commit2532a87bd1c1d2731b72f6c50e17249c62c25691 (patch)
treeb2d5b1ca9f42ff5d21d15b2c6e009c3c9ff968f9 /src/power_4400.c
parent69c44871c2b64329956f090d37dd14495059f6db (diff)
Strip trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/omins@1999 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/power_4400.c')
-rw-r--r--src/power_4400.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/power_4400.c b/src/power_4400.c
index 972f120..befd373 100644
--- a/src/power_4400.c
+++ b/src/power_4400.c
@@ -1,17 +1,17 @@
/* Base to the power of Exponent plugin. Copyright (C) 2005 Thorsten Wilms.
- * Based on Dave Robillard's "Hz to AMS style V/Oct" plugin for the skeleton,
+ * Based on Dave Robillard's "Hz to AMS style V/Oct" plugin for the skeleton,
* and there's not much else in here :).
- *
+ *
* This plugin is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License as published by the Free
* Software Foundation; either version 2 of the License, or (at your option)
* any later version.
- *
+ *
* This plugin is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
* details.
- *
+ *
* You should have received a copy of the GNU General Public License along
* with this program; if not, write to the Free Software Foundation, Inc.,
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
@@ -80,7 +80,7 @@ void
POWER_run_cr(LADSPA_Handle instance, unsigned long nframes)
{
POWER* plugin = (POWER*)instance;
-
+
*plugin->result_buffer = powf(*plugin->base_buffer, *plugin->exponent_buffer);
}
@@ -93,7 +93,7 @@ POWER_run_ar(LADSPA_Handle instance, unsigned long nframes)
const LADSPA_Data* const exponent = plugin->exponent_buffer;
LADSPA_Data* const result = plugin->result_buffer;
unsigned long i;
-
+
for (i = 0; i < nframes; ++i)
result[i] = powf(base[i], exponent[i]);
}