HISE Logo Forum
    • Categories
    • Register
    • Login

    Strange assertion in message thread...

    Scheduled Pinned Locked Moved General Questions
    6 Posts 3 Posters 196 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.
    • ustkU
      ustk
      last edited by

      I'm currently facing an assertion in the debugger. Although this doesn't seem to be a problem in the exported app.

      • It happens when I change anything in the audio interface setting like In/Out, samplerate, buffer size...
      • I bypassed all modules (even the master)
      • All scripts are commented out

      So the only things that are staying are the Content.makeFrontInterface(), all the interface components and a stock floating tile to access the audio settings...

      But I can't reproduce it in a new project ! 🤔

      Screenshot 2023-01-18 at 18.43.22.png

      Can't help pressing F5 in the forum...

      d.healeyD 1 Reply Last reply Reply Quote 0
      • d.healeyD
        d.healey @ustk
        last edited by

        @ustk If you can't reproduce it in a new project could it be some setting in the project's XML?

        Libre Wave - Freedom respecting instruments and effects
        My Patreon - HISE tutorials
        YouTube Channel - Public HISE tutorials

        ustkU 1 Reply Last reply Reply Quote 0
        • ustkU
          ustk @d.healey
          last edited by

          @d-healey Thanks, that's what I thought, I will scrutinise it again...

          Can't help pressing F5 in the forum...

          1 Reply Last reply Reply Quote 0
          • ustkU
            ustk
            last edited by ustk

            Alright so the step before shows that it asserts only in DEBUG.
            Though I don't like this and mostly because I don't understand what is happening that could be so "thread dependent" with this call.
            Any thought @Christoph-Hart ?

            Screenshot 2023-01-19 at 01.04.18.png

            Can't help pressing F5 in the forum...

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

              @ustk An assertion is not a failure, it's just a hint that something is unexpected. In this case it's just that it's calling prepareToPlay without locking the audio thread (however the standalone wrapper has a synchronization mechanism in place on a higher level so this will never cause a real issue).

              ustkU 1 Reply Last reply Reply Quote 2
              • ustkU
                ustk @Christoph Hart
                last edited by

                @Christoph-Hart Hmm good to know ! I just spent a full night on this 😆

                Can't help pressing F5 in the forum...

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

                39

                Online

                1.7k

                Users

                11.7k

                Topics

                102.2k

                Posts