Browse Source

Call plugin de/activate in JACK standalone mode

pull/6/head
falkTX 8 years ago
parent
commit
058388be8b
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      distrho/src/DistrhoPluginJack.cpp

+ 4
- 0
distrho/src/DistrhoPluginJack.cpp View File

@@ -165,6 +165,8 @@ public:
jack_set_process_callback(fClient, jackProcessCallback, this);
jack_on_shutdown(fClient, jackShutdownCallback, this);

fPlugin.activate();

jack_activate(fClient);

#if DISTRHO_PLUGIN_HAS_UI
@@ -187,6 +189,8 @@ public:

jack_deactivate(fClient);

fPlugin.deactivate();

#if DISTRHO_PLUGIN_IS_SYNTH
jack_port_unregister(fClient, fPortMidiIn);
fPortMidiIn = nullptr;


Loading…
Cancel
Save