From c4696fe2d568bce461aa9f8b4fbc6be19b6113ae Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Wed, 29 Apr 2015 01:32:48 +0200 Subject: [PATCH] emit an xrun if the process_lock is taken --- libs/ardour/audioengine.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/libs/ardour/audioengine.cc b/libs/ardour/audioengine.cc index cdab68b2f5..67f1f15c4d 100644 --- a/libs/ardour/audioengine.cc +++ b/libs/ardour/audioengine.cc @@ -205,6 +205,7 @@ AudioEngine::process_callback (pframes_t nframes) if (!tm.locked()) { /* return having done nothing */ + Xrun(); _processed_frames = next_processed_frames; return 0; }