[client] audio: change the audio latency graph sample point

This removes the need for locking while also giving a better result in
the graph output. Also when the graph is disabled via the overlay
options it will no longer cause redraws.
This commit is contained in:
Geoffrey McRae
2022-01-28 10:59:12 +11:00
parent a0477466d2
commit 22b968ff53
7 changed files with 25 additions and 56 deletions

View File

@@ -47,7 +47,7 @@ GraphHandle overlayGraph_register(const char * name, RingBuffer buffer,
void overlayGraph_unregister();
void overlayGraph_iterate(void (*callback)(GraphHandle handle, const char * name,
bool * enabled, void * udata), void * udata);
void overlayGraph_invalidate(void);
void overlayGraph_invalidate(GraphHandle handle);
void overlayConfig_register(const char * title,
void (*callback)(void * udata, int * id), void * udata);