Mercurial > audlegacy
diff audacious/visualization.c @ 2190:d618044d35e4 trunk
[svn] - Fix the number of analyzer bars drawn in shaded mode.
- Fix doublesize for analyzer in shaded mode.
author | nhjm449 |
---|---|
date | Fri, 22 Dec 2006 00:17:31 -0800 |
parents | 65ca93cd72bf |
children | b9f60fcdf6cc |
line wrap: on
line diff
--- a/audacious/visualization.c Wed Dec 20 13:42:30 2006 -0800 +++ b/audacious/visualization.c Fri Dec 22 00:17:31 2006 -0800 @@ -357,11 +357,21 @@ memset(intern_vis_data, 0, 75); if (cfg.analyzer_type == ANALYZER_BARS) { - max = 19; + if (cfg.player_shaded) { + max = 13; + } + else { + max = 19; + } xscale = short_xscale; } else { - max = 75; + if (cfg.player_shaded) { + max = 37; + } + else { + max = 75; + } xscale = long_xscale; }