nausea

curses audio visualizer
git clone git://git.2f30.org/nausea
Log | Files | Refs | README | LICENSE

commit 1141420a92fd0bfce6adba5faac840a91d65c4d3
parent d04688ddd3c84da205c0b37918e0a43d1a4df9b5
Author: lostd <lostd@2f30.org>
Date:   Thu, 21 Nov 2013 17:27:18 +0200

More appropriate comment for the twin peaks

Diffstat:
Mspectrum.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/spectrum.c b/spectrum.c @@ -213,8 +213,8 @@ draw(struct frame *fr) yend = MIN(bar_height + ybegin, fr->height); #undef MIN - /* update state for peaks - * every time they drop by one lines */ + /* If the current freq reaches the peak, the peak is + * updated to that height, else it drops by one line. */ if (peaks) { if (fr->peak[i] >= ybegin) fr->peak[i] = ybegin;