13
0

get rid of click when transport changes state and we're monitoring input

git-svn-id: svn://localhost/ardour2/branches/3.0@10272 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2011-10-21 17:46:20 +00:00
parent 442d807a81
commit 59b02c6b6f

View File

@ -761,9 +761,11 @@ Track::maybe_declick (BufferSet& bufs, framecnt_t nframes, int declick)
{
/* never declick if there is an internal generator - we just want it to
keep generating sound without interruption.
ditto if we are monitoring inputs.
*/
if (_have_internal_generator) {
if (_have_internal_generator || monitoring_choice() == MonitorInput) {
return;
}