changeset 4310:822bc79f54bd

ooooops
author Eugene Zagidullin <e.asphyx@gmail.com>
date Mon, 25 Feb 2008 03:05:10 +0300
parents 70fc534162ec
children 9eee96d071d5
files src/audacious/ui_skinned_equalizer_graph.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/ui_skinned_equalizer_graph.c	Mon Feb 25 02:44:54 2008 +0300
+++ b/src/audacious/ui_skinned_equalizer_graph.c	Mon Feb 25 03:05:10 2008 +0300
@@ -25,6 +25,7 @@
 #include "ui_skinned_equalizer_graph.h"
 #include "main.h"
 #include "util.h"
+#include "equalizer_flow.h"
 
 #define UI_TYPE_SKINNED_EQUALIZER_GRAPH           (ui_skinned_equalizer_graph_get_type())
 
@@ -256,7 +257,7 @@
     for (i = 0; i < 109; i++) {
         y = 9 -
             (gint) ((eval_spline(x, cfg.equalizer_bands, yf, 10, i) *
-                     9.0) / 20.0);
+                     9.0) / EQUALIZER_MAX_GAIN);
         if (y < 0)
             y = 0;
         if (y > 18)