Skip to content

document latency handling for events #393

Description

@Trinitou

on Dischord someone had questions concerning latency handling for automation. At least I and @defiantnerd think we should document this better:

  • put the full explanation in latency.h. Some thoughts:
    • quoted from @defiantnerd's comment on Dischord: "Sending an event at timestamp n will result in audio at timestamp n+latency. [...] Latency is pre-delay-compensated. As every host does it (except FL Studio before version 9 or Magix Something (i forgot the name)) The host has to send the events that early so the plugin has time to apply it early enough for the announced latency."
    • I would add something like: the overall plugin latency applies to both audio and events together.
  • put some hint in all relevant places (like e.g. events.h, process.h, ...)
    • e.g. // for a discussion of latency see latency.h (as @baconpaul suggested)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions