Compiling a hardcoded network stuck with multiple channels
-
Hey @Christoph-Hart when trying to hardcode a network using multiple channels (12 to be precise) on a Mac, the build gets stuck at this phase:
▸ Compiling Main.cpp ⚠️ /Volumes/Felt/HISE-develop/hi_dsp_library/snex_basics/snex_ProcessDataTypes.h:630:11: no case matching constant switch condition '12' switch (data.getNumChannels()) ^~~~~~~~~~~~~~~~~~~~~ ⚠️ /Volumes/Felt/HISE-develop/hi_dsp_library/snex_basics/snex_ProcessDataTypes.h:630:11: no case matching constant switch condition '12' switch (data.getNumChannels()) ^
This is on the develop branch before 11 February. The versions after 11th can't be built at all on XCode so I can't test this.
-
@Christoph-Hart this actually happens when trying to compile the plugin, not just when hardcoding networks.
-
@Christoph-Hart I'm giving this a friendly bump, as the issue is still there in the latest commits.
-
@Christoph-Hart another kind bumpy bump :-)
-
@tomekslesicki Just took a look at this. Are you using a frame container with the full 12 channels?
I commented out the code that forwards the calls for channel counts > 2 because it blows up the code generation size, but I can add a macro that you can use to increase the number of available channels for frameprocessing.