Skip to content

Commit

Permalink
set numerical bool
Browse files Browse the repository at this point in the history
  • Loading branch information
dromer committed Sep 18, 2024
1 parent 6de9b22 commit e92ad85
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hvcc/generators/c2dpf/templates/DistrhoPluginInfo.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
#define DISTRHO_PLUGIN_WANT_STATE 0
#define DISTRHO_PLUGIN_WANT_TIMEPOS 1
#define DISTRHO_PLUGIN_WANT_FULL_STATE 0
#define DISTRHO_PLUGIN_WANT_MIDI_INPUT {{meta.midi_input if meta.midi_input is defined else 0}}
#define DISTRHO_PLUGIN_WANT_MIDI_OUTPUT {{meta.midi_output if meta.midi_output is defined else 0}}
#define DISTRHO_PLUGIN_WANT_MIDI_INPUT {{1 if meta.midi_input is sameas true else 0}}
#define DISTRHO_PLUGIN_WANT_MIDI_OUTPUT {{1 if meta.midi_output is sameas true else 0}}
{%- if meta.lv2_info != None %}
#define DISTRHO_PLUGIN_LV2_CATEGORY "{{meta.lv2_info}}"
{%- endif %}
Expand Down

0 comments on commit e92ad85

Please sign in to comment.