summaryrefslogtreecommitdiffstats
path: root/audio/filter/tools.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-04-13 18:00:51 +0200
committerwm4 <wm4@nowhere>2014-04-13 18:03:01 +0200
commit78128bddda4bcea1f256fc13cc33fa2652ed277c (patch)
tree35bf6596cb8e2d7927618845833c3ee36534f890 /audio/filter/tools.c
parent44f382cf98564c0fe08bdc78579c284362cd6f3c (diff)
downloadmpv-78128bddda4bcea1f256fc13cc33fa2652ed277c.tar.bz2
mpv-78128bddda4bcea1f256fc13cc33fa2652ed277c.tar.xz
Kill all tabs
I hate tabs. This replaces all tabs in all source files with spaces. The only exception is old-makefile. The replacement was made by running the GNU coreutils "expand" command on every file. Since the replacement was automatic, it's possible that some formatting was destroyed (but perhaps only if it was assuming that the end of a tab does not correspond to aligning the end to multiples of 8 spaces).
Diffstat (limited to 'audio/filter/tools.c')
-rw-r--r--audio/filter/tools.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/filter/tools.c b/audio/filter/tools.c
index 217224150e..231477927f 100644
--- a/audio/filter/tools.c
+++ b/audio/filter/tools.c
@@ -115,9 +115,9 @@ int af_test_output(struct af_instance* af, struct mp_audio* out)
float af_softclip(float a)
{
if (a >= M_PI/2)
- return 1.0;
+ return 1.0;
else if (a <= -M_PI/2)
- return -1.0;
+ return -1.0;
else
- return sin(a);
+ return sin(a);
}