mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-30 17:03:06 +01:00
don't compute scope info for livetrax (never displayed)
This commit is contained in:
parent
2993b9cda7
commit
76a28f7315
1 changed files with 3 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue