Browse Source

hardcoded parameter count

tags/v1.9.9
HeyCitizen 6 years ago
parent
commit
2c5414c5e5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      source/native-plugins/midi-transpose.c

+ 1
- 1
source/native-plugins/midi-transpose.c View File

@@ -60,7 +60,7 @@ static uint32_t miditranspose_get_parameter_count(NativePluginHandle handle)

static const NativeParameter* miditranspose_get_parameter_info(NativePluginHandle handle, uint32_t index)
{
if (index >= miditranspose_get_parameter_count(handle))
if (index >= 2)
return NULL;

static NativeParameter param[] =


Loading…
Cancel
Save