diff options
author | Hans Baier <hansfbaier@googlemail.com> | 2009-01-10 08:42:07 +0000 |
---|---|---|
committer | Hans Baier <hansfbaier@googlemail.com> | 2009-01-10 08:42:07 +0000 |
commit | b7715419f2ae85af70a0d78722798a5b0ea16263 (patch) | |
tree | 44b193e0870a7693dc5bd76ad79e0c6c178851c2 /libs/ardour/session_click.cc | |
parent | bfbae251be8b67b33ad1c95b56e30da0cb537ec5 (diff) |
* wrong calculation of frames_moved in Session::process_*, resulting in drift against any Slaves when transport speed != 1.0
git-svn-id: svn://localhost/ardour2/branches/3.0@4397 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'libs/ardour/session_click.cc')
-rw-r--r-- | libs/ardour/session_click.cc | 2 |
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(); |