diff options
Diffstat (limited to 'src/libs/engine')
-rw-r--r-- | src/libs/engine/Engine.cpp | 4 | ||||
-rw-r--r-- | src/libs/engine/JackAudioDriver.cpp | 2 |
2 files changed, 2 insertions, 4 deletions
diff --git a/src/libs/engine/Engine.cpp b/src/libs/engine/Engine.cpp index 004de200..f0b43dc8 100644 --- a/src/libs/engine/Engine.cpp +++ b/src/libs/engine/Engine.cpp @@ -267,11 +267,9 @@ Engine::deactivate() _process_slaves.clear(); // Finalize any lingering events (unlikely) - //_post_processor->whip(); - //_post_processor->stop(); + _post_processor->process(); _audio_driver.reset(); - _event_source.reset(); _activated = false; diff --git a/src/libs/engine/JackAudioDriver.cpp b/src/libs/engine/JackAudioDriver.cpp index 0c824935..f90e1075 100644 --- a/src/libs/engine/JackAudioDriver.cpp +++ b/src/libs/engine/JackAudioDriver.cpp @@ -276,7 +276,7 @@ JackAudioDriver::driver_port(const Path& path) int JackAudioDriver::_process_cb(jack_nframes_t nframes) { - if (nframes == 0) + if (nframes == 0 || ! _is_activated) return 0; // FIXME: all of this time stuff is screwy |