aboutsummaryrefslogtreecommitdiffstats
path: root/src/prob_switch_2667.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/prob_switch_2667.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/prob_switch_2667.c')
-rw-r--r--src/prob_switch_2667.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/prob_switch_2667.c b/src/prob_switch_2667.c
index 1c385a8..fe35fdc 100644
--- a/src/prob_switch_2667.c
+++ b/src/prob_switch_2667.c
@@ -1,17 +1,17 @@
/* This file is an audio plugin. Copyright (C) 2005 Loki Davison.
- *
- * Probability parameter is the prob of input 1 being the output value.
- *
+ *
+ * Probability parameter is the prob of input 1 being the output value.
+ *
* 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
@@ -98,7 +98,7 @@ probswitch_run_cr(LADSPA_Handle instance, unsigned long nframes)
if((temp/RAND_MAX) <= prob)
{
output[i] = input1[i];
- }
+ }
else
{
output[i] = input2[i];
@@ -123,7 +123,7 @@ probswitch_run_ar(LADSPA_Handle instance, unsigned long nframes)
if((rand()/RAND_MAX) <= prob[i])
{
output[i] = input1[i];
- }
+ }
else
{
output[i] = input2[i];