Mercurial > audlegacy
diff audacious/widgets/vis.c @ 2169:0934eeabc0ed trunk
[svn] Added subsampling and nonlinear transfer function to the voiceprint
visualizer. Also increased the intensity range.
author | marvin |
---|---|
date | Mon, 18 Dec 2006 14:01:29 -0800 |
parents | a8fe58a69f8f |
children | 7267fc6b2c67 |
line wrap: on
line diff
--- a/audacious/widgets/vis.c Mon Dec 18 13:11:23 2006 -0800 +++ b/audacious/widgets/vis.c Mon Dec 18 14:01:29 2006 -0800 @@ -101,8 +101,7 @@ else if (cfg.vis_type == VIS_VOICEPRINT && data){ for(i = 0; i < 16; i++) { - vis->vs_data[i] = data[15 - i] >> 5 > 16 ? 16 : data[15-i] >> 5; - + vis->vs_data[i] = data[15 - i] > 23 ? 23 : data[15-i]; } } else if (data) {