mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-28 07:58:15 +01:00
make sure declicking fades reach their target, from svn 9086
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@9228 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
032e2df8a1
commit
54d4fda60d
1 changed files with 1 additions and 1 deletions
|
|
@ -260,7 +260,7 @@ IO::apply_declick (vector<Sample *>& bufs, uint32_t nbufs, nframes_t nframes, ga
|
|||
|
||||
if (nframes == 0) return;
|
||||
|
||||
fractional_shift = -1.0/declick;
|
||||
fractional_shift = -1.0/(declick-1);
|
||||
|
||||
if (target < initial) {
|
||||
/* fade out: remove more and more of delta from initial */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue