mirror of
https://github.com/juce-framework/JUCE.git
synced 2026-01-14 00:14:18 +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) {}
|
||
|---|---|---|
| .. | ||
| juce_analytics | ||
| juce_animation | ||
| juce_audio_basics | ||
| juce_audio_devices | ||
| juce_audio_formats | ||
| juce_audio_plugin_client | ||
| juce_audio_processors | ||
| juce_audio_processors_headless | ||
| juce_audio_utils | ||
| juce_box2d | ||
| juce_core | ||
| juce_cryptography | ||
| juce_data_structures | ||
| juce_dsp | ||
| juce_events | ||
| juce_graphics | ||
| juce_gui_basics | ||
| juce_gui_extra | ||
| juce_javascript | ||
| juce_midi_ci | ||
| juce_opengl | ||
| juce_osc | ||
| juce_product_unlocking | ||
| juce_video | ||
| CMakeLists.txt | ||