summaryrefslogtreecommitdiffstats
path: root/src/libs/engine/Engine.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/engine/Engine.cpp')
-rw-r--r--src/libs/engine/Engine.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/libs/engine/Engine.cpp b/src/libs/engine/Engine.cpp
index 053528ff..ddb9ea81 100644
--- a/src/libs/engine/Engine.cpp
+++ b/src/libs/engine/Engine.cpp
@@ -190,9 +190,6 @@ Engine::deactivate()
{
if (!_activated)
return;
-
- _audio_driver->root_patch()->disable();
- _audio_driver->root_patch()->deactivate();
/*for (Tree<GraphObject*>::iterator i = _object_store->objects().begin();
i != _object_store->objects().end(); ++i)
@@ -204,6 +201,8 @@ Engine::deactivate()
_audio_driver->deactivate();
+ _audio_driver->root_patch()->deactivate();
+
// Finalize any lingering events (unlikely)
_post_processor->whip();
_post_processor->stop();