Skip to content

Commit

Permalink
Set IsSynth Flag for Instruments
Browse files Browse the repository at this point in the history
  • Loading branch information
x42 committed Sep 28, 2018
1 parent b0e32a9 commit 2f8703e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lv2vst.cc
Expand Up @@ -83,6 +83,10 @@ LV2Vst::LV2Vst (audioMasterCallback audioMaster, RtkLv2Description* desc)
_effect.flags |= (1 << 5); // effFlagsProgramChunks;
}

if (get_category () == kPlugCategSynth) {
_effect.flags |= effFlagsIsSynth;
}

_lib_handle = open_lv2_lib (desc->dsp_path);
lv2_descriptor = (const LV2_Descriptor* (*)(uint32_t)) x_dlfunc (_lib_handle, "lv2_descriptor");

Expand Down

0 comments on commit 2f8703e

Please sign in to comment.