don’t count silent [x]runs if there’s no session.

This commit is contained in:
Robin Gareus 2015-04-30 22:55:42 +02:00
parent e65e77e360
commit 840b871245

View File

@ -205,7 +205,9 @@ AudioEngine::process_callback (pframes_t nframes)
if (!tm.locked()) {
/* return having done nothing */
Xrun();
if (_session) {
Xrun();
}
_processed_frames = next_processed_frames;
return 0;
}