don't compute scope info for livetrax (never displayed)
This commit is contained in:
parent
46c55fa89b
commit
3b58e2e4bb
@ -135,7 +135,9 @@ PortManager::AudioInputPort::silence (pframes_t n_samples)
|
||||
void
|
||||
PortManager::AudioInputPort::process (Sample const* buf, pframes_t n_samples, bool reset)
|
||||
{
|
||||
if (!Profile->get_livetrax()) {
|
||||
scope->write (buf, n_samples);
|
||||
}
|
||||
|
||||
float level = reset ? 0 : meter->level;
|
||||
level = compute_peak (buf, n_samples, level);
|
||||
|
Loading…
Reference in New Issue
Block a user