summaryrefslogtreecommitdiff
path: root/libs/ardour/session_click.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/session_click.cc')
-rw-r--r--libs/ardour/session_click.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/session_click.cc b/libs/ardour/session_click.cc
index fcbf1e1b03..fde698803c 100644
--- a/libs/ardour/session_click.cc
+++ b/libs/ardour/session_click.cc
@@ -53,7 +53,7 @@ Session::click (nframes_t start, nframes_t nframes, nframes_t offset)
return;
}
- const nframes_t end = start + (nframes_t)floor(nframes * _transport_speed);
+ const nframes_t end = start + nframes;
BufferSet& bufs = get_scratch_buffers(ChanCount(DataType::AUDIO, 1));
buf = bufs.get_audio(0).data();