diff options
Diffstat (limited to 'src/branch.c')
-rw-r--r-- | src/branch.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/branch.c b/src/branch.c index c74e316..5ec0fff 100644 --- a/src/branch.c +++ b/src/branch.c @@ -26,9 +26,9 @@ #define BRANCH_OUTPUT2 2 typedef struct { - float* input; - float* output1; - float* output2; + const float* input; + float* output1; + float* output2; } Branch; static void @@ -46,7 +46,7 @@ connect_port(LV2_Handle instance, switch (port) { case BRANCH_INPUT: - plugin->input = (float*)data; + plugin->input = (const float*)data; break; case BRANCH_OUTPUT1: plugin->output1 = (float*)data; |