HISE Logo Forum
    • Categories
    • Register
    • Login

    Transport + Synth.deferCallbacks(true)

    Scheduled Pinned Locked Moved Scripting
    3 Posts 2 Posters 143 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.
    • A
      aaronventure
      last edited by

      What's the interaction? The transport handler is created and the callback is set in on init. If a script processor is deferred, its realtime callbacks become non-realtime.

      How does this affect the transport callback?

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

        @aaronventure You can control this individually for each callback and the deferCallback() for the other callbacks do not apply here.

        Link Preview Image
        HISE | Scripting | TransportHandler

        A class that manages callbacks for host playback events

        favicon

        (docs.hise.audio)

        You can specify the mode when you pass in the callbacks into the register functions. Be aware that each transport handler has two slots, so you can register two different callbacks for the synchronous and asynchronous execution.

        A 1 Reply Last reply Reply Quote 1
        • A
          aaronventure @Christoph Hart
          last edited by

          @Christoph-Hart said in Transport + Synth.deferCallbacks(true):

          deferCallback() for the other callbacks do not apply here.

          Great, this is what I was after. Thanks!

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

          29

          Online

          1.8k

          Users

          12.1k

          Topics

          105.1k

          Posts