aboutsummaryrefslogtreecommitdiffstats
path: root/src/prob_switch_2667.c
diff options
context:
space:
mode:
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];