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
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
..
format juce_audio_processors: Exclusively use JUCE_INTERNAL_HAS_* macros in place of JUCE_PLUGINHOST_* macros 2025-09-25 18:38:27 +01:00
format_types Docs: Update language to be more diplomatic 2025-11-18 15:47:42 +00:00
processors Fix AudioPluginInstance template constructor parameter type 2025-12-06 00:21:33 -05:00
utilities VST3: Add support for defining a custom VST3 component class ID 2025-10-16 16:32:46 +01:00
juce_audio_processors_headless.cpp AudioPluginFormatManager: Move to headless processors module 2025-09-17 12:50:08 +01:00
juce_audio_processors_headless.h Bump version number to 8.0.11 2025-12-01 10:21:13 +00:00
juce_audio_processors_headless.mm Create new empty juce_audio_processors_headless module 2025-09-17 12:50:07 +01:00
juce_audio_processors_headless_ara.cpp juce_audio_processors: Exclusively use JUCE_INTERNAL_HAS_* macros in place of JUCE_PLUGINHOST_* macros 2025-09-25 18:38:27 +01:00
juce_audio_processors_headless_lv2_libs.cpp juce_audio_processors: Exclusively use JUCE_INTERNAL_HAS_* macros in place of JUCE_PLUGINHOST_* macros 2025-09-25 18:38:27 +01:00