mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-02-05 03:50:07 +00:00
The template constructor's parameter `const short channelLayoutList[numLayouts][2]`
decays to `const short (*)[2]` (pointer to array), which doesn't match any
AudioProcessor constructor.
Changed to `const short (&channelLayoutList)[numLayouts][2]` (reference to array)
to preserve the array type and match the AudioProcessor template constructor
that accepts `const short (&)[numLayouts][2]`.
This fixes the compilation error:
error: no matching constructor for initialization of 'AudioProcessor'
AudioPluginInstance (const short channelLayoutList[numLayouts][2])
: AudioProcessor (channelLayoutList) {}
|
||
|---|---|---|
| .. | ||
| format | ||
| format_types | ||
| processors | ||
| utilities | ||
| juce_audio_processors_headless.cpp | ||
| juce_audio_processors_headless.h | ||
| juce_audio_processors_headless.mm | ||
| juce_audio_processors_headless_ara.cpp | ||
| juce_audio_processors_headless_lv2_libs.cpp | ||