Browse Source

Update mod license API (#55)

pull/56/head
Ricardo Crudo Filipe Coelho <falktx@falktx.com> 5 years ago
parent
commit
44d2a6fba7
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      distrho/src/DistrhoPluginLV2.cpp

+ 2
- 2
distrho/src/DistrhoPluginLV2.cpp View File

@@ -32,7 +32,7 @@
#include "lv2/lv2_programs.h"

#ifdef DISTRHO_PLUGIN_LICENSED_FOR_MOD
# include "libmodauth.h"
# include "libmodla.h"
#endif

#ifdef noexcept
@@ -1057,7 +1057,7 @@ static LV2_Handle lv2_instantiate(const LV2_Descriptor*, double sampleRate, cons
#endif

#ifdef DISTRHO_PLUGIN_LICENSED_FOR_MOD
mod_check_license(features, DISTRHO_PLUGIN_URI);
mod_license_check(features, DISTRHO_PLUGIN_URI);
#endif

d_lastBufferSize = 0;


Loading…
Cancel
Save