Visualization: Clear peaks on stop

Signed-off-by: Christopher Snowhill <kode54@gmail.com>
This commit is contained in:
Christopher Snowhill 2022-02-13 01:42:02 -08:00
parent 992b716193
commit f2bebdefa7

View file

@ -147,6 +147,7 @@ extern NSString *CogPlaybackDidStopNotficiation;
stopped = YES;
paused = NO;
[self updateVisListening];
vDSP_vclr(&FFTMax[0], 1, 256);
[self repaint];
}