mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-13 01:56:34 +01:00
Update actual gain when declick has been applied.
git-svn-id: svn://localhost/ardour2/branches/3.0@4440 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
4cd47cf253
commit
6ccf29fb53
1 changed files with 3 additions and 1 deletions
|
|
@ -261,8 +261,10 @@ IO::deliver_output (BufferSet& bufs, nframes_t start_frame, nframes_t end_frame,
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (dg != _gain || dg != 1.0)
|
if (dg != _gain || dg != 1.0) {
|
||||||
Amp::run_in_place(bufs, nframes, _gain, dg, _phase_invert);
|
Amp::run_in_place(bufs, nframes, _gain, dg, _phase_invert);
|
||||||
|
_gain = dg;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Use the panner to distribute audio to output port buffers
|
// Use the panner to distribute audio to output port buffers
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue