From 5ebe6fcde89d5f4696c3b0af156e2f2ba70c1489 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 1 Apr 2017 23:52:43 +0200 Subject: Add option for record-only metronome. --- libs/ardour/session_click.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'libs/ardour/session_click.cc') diff --git a/libs/ardour/session_click.cc b/libs/ardour/session_click.cc index 08aa0cc446..fc1f9c5e1d 100644 --- a/libs/ardour/session_click.cc +++ b/libs/ardour/session_click.cc @@ -75,6 +75,10 @@ Session::click (framepos_t start, framecnt_t nframes) return; } + if (_click_rec_only && !actively_recording()) { + return; + } + start -= _worst_track_latency; /* start could be negative at this point */ const framepos_t end = start + nframes; -- cgit v1.2.3