Skip to content

Commit 50f4a7c

Browse files
committed
Fix MAPI build if using MIDI
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 2fde292 commit 50f4a7c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

distrho/src/DistrhoPluginMAPI.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ class PluginMAPI
5656
void process(const float* const* ins, float** outs, unsigned int frames)
5757
{
5858
#if DISTRHO_PLUGIN_WANT_MIDI_INPUT
59-
fPlugin.run(ins, outs, frames, nullptr, 0);
59+
fPlugin.run(const_cast<const float**>(ins), outs, frames, nullptr, 0);
6060
#else
6161
fPlugin.run(const_cast<const float**>(ins), outs, frames);
6262
#endif

0 commit comments

Comments
 (0)