Mercurial > mplayer.hg
diff libaf/af_sub.c @ 29263:0f1b5b68af32
whitespace cosmetics: Remove all trailing whitespace.
author | diego |
---|---|
date | Wed, 13 May 2009 02:58:57 +0000 |
parents | 8c706ce21c6f |
children | 8fa2f43cb760 |
line wrap: on
line diff
--- a/libaf/af_sub.c Tue May 12 19:25:35 2009 +0000 +++ b/libaf/af_sub.c Wed May 13 02:58:57 2009 +0000 @@ -30,7 +30,7 @@ #include <stdio.h> #include <stdlib.h> -#include <string.h> +#include <string.h> #include "af.h" #include "dsp.h" @@ -38,7 +38,7 @@ // Q value for low-pass filter #define Q 1.0 -// Analog domain biquad section +// Analog domain biquad section typedef struct{ float a[3]; // Numerator coefficients float b[3]; // Denominator coefficients @@ -56,13 +56,13 @@ float fc; // Cutoff frequency [Hz] for low-pass filter float k; // Filter gain; int ch; // Channel number which to insert the filtered data - + }af_sub_t; // Initialization and runtime control static int control(struct af_instance_s* af, int cmd, void* arg) { - af_sub_t* s = af->setup; + af_sub_t* s = af->setup; switch(cmd){ case AF_CONTROL_REINIT:{ @@ -120,7 +120,7 @@ return AF_UNKNOWN; } -// Deallocate memory +// Deallocate memory static void uninit(struct af_instance_s* af) { if(af->data) @@ -146,7 +146,7 @@ af_data_t* c = data; // Current working data af_sub_t* s = af->setup; // Setup for this instance float* a = c->audio; // Audio data - int len = c->len/4; // Number of samples in current audio block + int len = c->len/4; // Number of samples in current audio block int nch = c->nch; // Number of channels int ch = s->ch; // Channel in which to insert the sub audio register int i;