prevent double declicks (click after RecStop)
authorRobin Gareus <robin@gareus.org>
Tue, 7 Apr 2015 03:19:28 +0000 (05:19 +0200)
committerRobin Gareus <robin@gareus.org>
Tue, 7 Apr 2015 03:25:18 +0000 (05:25 +0200)
commit6ba555c2f57fb793431aef0cedfbacf11d643a2b
tree259772a74a7deb4dc245e1af7079621d89d0ba50
parenta30696828302cd98fae4e7a2065c76b863c89286
prevent double declicks (click after RecStop)

If there's port-latency > period-size, there is a
split cycle with (this_event->action_frame - _transport_frame).
Yet Session::check_declick_out() keeps PendingDeclickOut if
StopPendingCapture is set. The route declick’ed twice:
Once with the period-size and one with the remaining frames,
which resulted in a click.
libs/ardour/ardour/route.h
libs/ardour/route.cc