1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-05 03:50:07 +00:00
JUCE/modules/juce_audio_processors_headless/processors
Zachary Fogg 3b4b5da251
Fix AudioPluginInstance template constructor parameter type
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) {}
2025-12-06 00:21:33 -05:00
..
juce_AudioPluginInstance.cpp Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
juce_AudioPluginInstance.h Fix AudioPluginInstance template constructor parameter type 2025-12-06 00:21:33 -05:00
juce_AudioProcessor.cpp Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
juce_AudioProcessor.h Docs: Update language to be more diplomatic 2025-11-18 15:47:42 +00:00
juce_AudioProcessorGraph.cpp Formatting: Remove double-dots from comments and other strings 2025-11-18 15:47:42 +00:00
juce_AudioProcessorGraph.h Move files without UI dependencies to juce_audio_processors_headless 2025-09-17 12:50:07 +01:00
juce_AudioProcessorListener.cpp Move files without UI dependencies to juce_audio_processors_headless 2025-09-17 12:50:07 +01:00
juce_AudioProcessorListener.h Move files without UI dependencies to juce_audio_processors_headless 2025-09-17 12:50:07 +01:00
juce_AudioProcessorParameter.cpp Move files without UI dependencies to juce_audio_processors_headless 2025-09-17 12:50:07 +01:00
juce_AudioProcessorParameter.h Move files without UI dependencies to juce_audio_processors_headless 2025-09-17 12:50:07 +01:00
juce_AudioProcessorParameterGroup.cpp Move files without UI dependencies to juce_audio_processors_headless 2025-09-17 12:50:07 +01:00
juce_AudioProcessorParameterGroup.h Move files without UI dependencies to juce_audio_processors_headless 2025-09-17 12:50:07 +01:00
juce_HostedAudioProcessorParameter.h Move files without UI dependencies to juce_audio_processors_headless 2025-09-17 12:50:07 +01:00
juce_PluginDescription.cpp Move files without UI dependencies to juce_audio_processors_headless 2025-09-17 12:50:07 +01:00
juce_PluginDescription.h Move files without UI dependencies to juce_audio_processors_headless 2025-09-17 12:50:07 +01:00