unused stuff commented

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@84 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: ed6d4984e8
Author: mws <mws@e54a6e83-5905-42d5-8d5c-058d10e6a962>
Date: 2009-12-16 (Wed, 16 Dec 2009)



------------------
This commit was generated by Migit
This commit is contained in:
mws
2009-12-16 16:07:49 +00:00
parent c7d54ddbf9
commit c74495261e

View File

@@ -33,6 +33,7 @@ typedef double gdouble;
#define FALL 2 #define FALL 2
#define FALLOFF 1 #define FALLOFF 1
#if 0
static int bar_heights[NUM_BANDS]; static int bar_heights[NUM_BANDS];
static int falloffs[NUM_BANDS]; static int falloffs[NUM_BANDS];
static gdouble scale = 0; static gdouble scale = 0;
@@ -40,7 +41,7 @@ static gdouble scale = 0;
static gint xscale128[] = { 0, 1, 2, 3, 4, 6, 8, 9, 10, 14, 20, 27, 37, 50, 67, 94, 127 }; static gint xscale128[] = { 0, 1, 2, 3, 4, 6, 8, 9, 10, 14, 20, 27, 37, 50, 67, 94, 127 };
static gint xscale256[] = { 0, 1, 2, 3, 5, 7, 10, 14, 20, 28, 40, 54, 74, 101, 137, 187, 255 }; static gint xscale256[] = { 0, 1, 2, 3, 5, 7, 10, 14, 20, 28, 40, 54, 74, 101, 137, 187, 255 };
static gint xscale512[] = { 0, 2, 4, 6, 10, 14, 20, 28, 40, 56, 80, 108, 148, 202, 274, 374, 510 }; static gint xscale512[] = { 0, 2, 4, 6, 10, 14, 20, 28, 40, 56, 80, 108, 148, 202, 274, 374, 510 };
#endif
//#define DEBUG //#define DEBUG
#if HAVE_DBOX2 #if HAVE_DBOX2
#define SAMPLES 256 #define SAMPLES 256
@@ -52,6 +53,7 @@ static gint xscale512[] = { 0, 2, 4, 6, 10, 14, 20, 28, 40, 56, 80, 108, 148, 20
#define xscale xscale256 #define xscale xscale256
#endif #endif
#if 0
static void do_fft(gint16 out_data[], gint16 in_data[]) static void do_fft(gint16 out_data[], gint16 in_data[])
{ {
gint16 im[SAMPLES]; gint16 im[SAMPLES];
@@ -61,8 +63,8 @@ static void do_fft(gint16 out_data[], gint16 in_data[])
fix_fft(in_data, im, LOG, 0); fix_fft(in_data, im, LOG, 0);
fix_loud(out_data, in_data, im, SAMPLES/2, 0); fix_loud(out_data, in_data, im, SAMPLES/2, 0);
} }
#endif
static int threshold = -60; //static int threshold = -60;
void sanalyzer_render_freq (gint16 in_data[]) void sanalyzer_render_freq (gint16 in_data[])
{ {
#if 0 #if 0