13
0

don't compute scope info for livetrax (never displayed)

This commit is contained in:
Paul Davis 2024-03-22 18:57:43 -06:00
parent 46c55fa89b
commit 3b58e2e4bb

View File

@ -135,7 +135,9 @@ PortManager::AudioInputPort::silence (pframes_t n_samples)
void
PortManager::AudioInputPort::process (Sample const* buf, pframes_t n_samples, bool reset)
{
scope->write (buf, n_samples);
if (!Profile->get_livetrax()) {
scope->write (buf, n_samples);
}
float level = reset ? 0 : meter->level;
level = compute_peak (buf, n_samples, level);