[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 committed 2022-01-28 10:59:12 +11:00
1 parent a0477466d2
commit 22b968ff53
7 files changed
+25 -56

No files matched your search

+1 -1
View File
@@ -116,7 +116,7 @@ typedef const char * (*GraphFormatFn)(const char * name,
GraphHandle app_registerGraph(const char * name, RingBuffer buffer,
float min, float max, GraphFormatFn formatFn);
void app_unregisterGraph(GraphHandle handle);
void app_invalidateGraphs(void);
void app_invalidateGraph(GraphHandle handle);
void app_overlayConfigRegister(const char * title,
void (*callback)(void * udata, int * id), void * udata);