diff options
author | David Robillard <d@drobilla.net> | 2009-05-13 16:04:14 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2009-05-13 16:04:14 +0000 |
commit | 2532a87bd1c1d2731b72f6c50e17249c62c25691 (patch) | |
tree | b2d5b1ca9f42ff5d21d15b2c6e009c3c9ff968f9 /src/signal_abs_2669.c | |
parent | 69c44871c2b64329956f090d37dd14495059f6db (diff) |
Strip trailing whitespace.
git-svn-id: http://svn.drobilla.net/lad/trunk/omins@1999 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/signal_abs_2669.c')
-rw-r--r-- | src/signal_abs_2669.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/signal_abs_2669.c b/src/signal_abs_2669.c index c9eb99e..f709426 100644 --- a/src/signal_abs_2669.c +++ b/src/signal_abs_2669.c @@ -1,17 +1,17 @@ /* This file is an audio plugin. Copyright (C) 2005 Loki Davison. - * + * * Sign parameter is the sign of the output, 0 being negative and >0 begin positive. - * + * * 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 @@ -90,7 +90,7 @@ signalabs_run_cr(LADSPA_Handle instance, unsigned long nframes) if(sign > 0) { output[i] = fabs(input1[i]); - } + } else { output[i] = fabs(input1[i]) * -1; @@ -114,7 +114,7 @@ signalabs_run_ar(LADSPA_Handle instance, unsigned long nframes) if(sign[i] > 0.5) { output[i] = fabs(input1[i]); - } + } else { output[i] = fabs(input1[i]) * -1; |