diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-13 02:58:57 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-05-13 02:58:57 +0000 |
commit | 6e9cbdc10448203e7c8b2de41447442fcc9f7bae (patch) | |
tree | 0ed465592509105fdbeab27fc12ddbb2e3590aa5 /libaf/af_karaoke.c | |
parent | eafe5b7517bbf408ae1ffc936a3abe2313c3b334 (diff) | |
download | mpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.bz2 mpv-6e9cbdc10448203e7c8b2de41447442fcc9f7bae.tar.xz |
whitespace cosmetics: Remove all trailing whitespace.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libaf/af_karaoke.c')
-rw-r--r-- | libaf/af_karaoke.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libaf/af_karaoke.c b/libaf/af_karaoke.c index 5239c74721..e0f0d42471 100644 --- a/libaf/af_karaoke.c +++ b/libaf/af_karaoke.c @@ -23,7 +23,7 @@ #include <stdio.h> #include <stdlib.h> -#include <string.h> +#include <string.h> #include "af.h" @@ -43,7 +43,7 @@ static int control(struct af_instance_s* af, int cmd, void* arg) return AF_UNKNOWN; } -// Deallocate memory +// Deallocate memory static void uninit(struct af_instance_s* af) { if(af->data) @@ -55,22 +55,22 @@ static af_data_t* play(struct af_instance_s* af, af_data_t* data) { af_data_t* c = data; // Current working data 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 register int i; - /* - FIXME1 add a low band pass filter to avoid suppressing + /* + FIXME1 add a low band pass filter to avoid suppressing centered bass/drums FIXME2 better calculated* attenuation factor */ - + for(i=0;i<len;i+=nch) { a[i] = (a[i] - a[i+1]) * 0.7; a[i+1]=a[i]; } - + return c; } @@ -84,7 +84,7 @@ static int af_open(af_instance_t* af){ if(af->data == NULL) return AF_ERROR; - + return AF_OK; } |