diff options
author | Robin Gareus <robin@gareus.org> | 2017-06-24 01:22:17 +0200 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2017-06-24 01:22:17 +0200 |
commit | 64a091ea4b082ea4589cf43548ee1b14917dcdf4 (patch) | |
tree | 8d732a8edc632eabf33b9ae5936b81b8979880e9 /libs/ardour/session_click.cc | |
parent | 92fb6325e325bc9be8970496e7c23c95d94dd39b (diff) |
Fix metronome + capture alignment for Mixbus
Diffstat (limited to 'libs/ardour/session_click.cc')
-rw-r--r-- | libs/ardour/session_click.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libs/ardour/session_click.cc b/libs/ardour/session_click.cc index fc1f9c5e1d..fae442f6c5 100644 --- a/libs/ardour/session_click.cc +++ b/libs/ardour/session_click.cc @@ -80,6 +80,11 @@ Session::click (framepos_t start, framecnt_t nframes) } start -= _worst_track_latency; +#ifdef MIXBUS + if (_master_out) { + start -= _master_out->signal_latency (); // delay signal by mixbus' internal latency + } +#endif /* start could be negative at this point */ const framepos_t end = start + nframes; /* correct start, potentially */ |