summaryrefslogtreecommitdiff
path: root/libs/ardour/capturing_processor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ardour/capturing_processor.cc')
-rw-r--r--libs/ardour/capturing_processor.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/ardour/capturing_processor.cc b/libs/ardour/capturing_processor.cc
index 4a31d92cc8..ce4a546fb4 100644
--- a/libs/ardour/capturing_processor.cc
+++ b/libs/ardour/capturing_processor.cc
@@ -28,7 +28,7 @@ namespace ARDOUR {
CapturingProcessor::CapturingProcessor (Session & session)
: Processor (session, X_("capture point"))
- , block_size (session.engine().frames_per_cycle())
+ , block_size (AudioEngine::instance()->samples_per_cycle())
{
realloc_buffers ();
}