13
0

emit an xrun if the process_lock is taken

This commit is contained in:
Robin Gareus 2015-04-29 01:32:48 +02:00
parent f410705c3a
commit c4696fe2d5

View File

@ -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;
}