Forum
    • Categories
    • Register
    • Login

    Report Latency?

    Scheduled Pinned Locked Moved Scripting
    2 Posts 2 Posters 23 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.
    • ChazroxC
      Chazrox
      last edited by

      How do we report our plugins latency to the daw? I see there are some api's for this but Im not sure how its done.

      dannytaurusD 1 Reply Last reply Reply Quote 0
      • dannytaurusD
        dannytaurus @Chazrox
        last edited by dannytaurus

        @Chazrox https://docs.hise.audio/scripting/scripting-api/engine/index.html#setlatencysamples

        Engine.setLatencySamples(int latency)
        

        sets the latency of the plugin as reported to the host. Default is 0

        You have to calculate the latency yourself, then report it to the host with that call. It isn't automatic.

        HISE dev latest / herdr + Claude Code / Figma + Affinity
        Meat Beats: https://meatbeats.com
        Klippr Video: https://klippr.video

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

        9

        Online

        3.1k

        Users

        14.0k

        Topics

        122.1k

        Posts