HISE Logo Forum
    • Categories
    • Register
    • Login

    Compiling a hardcoded network stuck with multiple channels

    Scheduled Pinned Locked Moved Bug Reports
    5 Posts 2 Posters 401 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • T
      tomekslesicki
      last edited by tomekslesicki

      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.

      T 1 Reply Last reply Reply Quote 0
      • T
        tomekslesicki @tomekslesicki
        last edited by

        @Christoph-Hart this actually happens when trying to compile the plugin, not just when hardcoding networks.

        T 1 Reply Last reply Reply Quote 0
        • T
          tomekslesicki @tomekslesicki
          last edited by

          @Christoph-Hart I'm giving this a friendly bump, as the issue is still there in the latest commits.

          T 1 Reply Last reply Reply Quote 0
          • T
            tomekslesicki @tomekslesicki
            last edited by

            @Christoph-Hart another kind bumpy bump :-)

            Christoph HartC 1 Reply Last reply Reply Quote 0
            • Christoph HartC
              Christoph Hart @tomekslesicki
              last edited by

              @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.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              58

              Online

              1.7k

              Users

              11.7k

              Topics

              101.8k

              Posts