summaryrefslogtreecommitdiffstats
path: root/audio/filter/window.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/window.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/window.c')
-rw-r--r--audio/filter/window.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/filter/window.c b/audio/filter/window.c
index a970bdcbea..089c629f8a 100644
--- a/audio/filter/window.c
+++ b/audio/filter/window.c
@@ -59,7 +59,7 @@ void af_window_triang(int n, FLOAT_TYPE* w)
FLOAT_TYPE k1 = (FLOAT_TYPE)(n & 1);
FLOAT_TYPE k2 = 1/((FLOAT_TYPE)n + k1);
int end = (n + 1) >> 1;
- int i;
+ int i;
// Calculate window coefficients
for (i=0 ; i<end ; i++)
@@ -77,7 +77,7 @@ void af_window_triang(int n, FLOAT_TYPE* w)
*/
void af_window_hanning(int n, FLOAT_TYPE* w)
{
- int i;
+ int i;
FLOAT_TYPE k = 2*M_PI/((FLOAT_TYPE)(n+1)); // 2*pi/(N+1)
// Calculate window coefficients
@@ -201,7 +201,7 @@ void af_window_kaiser(int n, FLOAT_TYPE* w, FLOAT_TYPE b)
{
FLOAT_TYPE tmp;
FLOAT_TYPE k1 = 1.0/besselizero(b);
- int k2 = 1 - (n & 1);
+ int k2 = 1 - (n & 1);
int end = (n + 1) >> 1;
int i;