summaryrefslogtreecommitdiffstats
path: root/audio/filter/af_center.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/af_center.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/af_center.c')
-rw-r--r--audio/filter/af_center.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/audio/filter/af_center.c b/audio/filter/af_center.c
index 2e626bffb6..106e08412e 100644
--- a/audio/filter/af_center.c
+++ b/audio/filter/af_center.c
@@ -35,7 +35,7 @@
// Data for specific instances of this filter
typedef struct af_center_s
{
- int ch; // Channel number which to insert the filtered data
+ int ch; // Channel number which to insert the filtered data
}af_center_t;
// Initialization and runtime control
@@ -61,12 +61,12 @@ static int control(struct af_instance* af, int cmd, void* arg)
// Filter data through filter
static int filter(struct af_instance* af, struct mp_audio* data, int flags)
{
- struct mp_audio* c = data; // Current working data
+ struct mp_audio* c = data; // Current working data
af_center_t* s = af->priv; // Setup for this instance
- float* a = c->planes[0]; // Audio data
- int nch = c->nch; // Number of channels
- int len = c->samples*c->nch; // Number of samples in current audio block
- int ch = s->ch; // Channel in which to insert the center audio
+ float* a = c->planes[0]; // Audio data
+ int nch = c->nch; // Number of channels
+ int len = c->samples*c->nch; // Number of samples in current audio block
+ int ch = s->ch; // Channel in which to insert the center audio
register int i;
// Run filter