Skip to content

Commit

Permalink
Add host can starve feedback from alex
Browse files Browse the repository at this point in the history
  • Loading branch information
baconpaul committed Sep 27, 2024
1 parent 9e84750 commit 89e683b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion include/clap/host.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ typedef struct clap_host {
// This callback should be called as soon as practicable, usually in the host application's next
// available main thread time slice. Typically callbacks occur at least in the 10s-to-50s-of-milliseconds
// or 30-120hz timeslice range. Plugins should not make assumptions about the exactness of timing for
// a main thread callback but hosts should endeavour to be prompt.
// a main thread callback but hosts should endeavour to be prompt. However in high load situations
// the host may starve the gui/main thread in favor of audio processing, leading to substantially
// longer latencies for the callback than the indicative times given here.
// [thread-safe]
void(CLAP_ABI *request_callback)(const struct clap_host *host);
} clap_host_t;
Expand Down

0 comments on commit 89e683b

Please sign in to comment.