mirror of
https://github.com/gnif/LookingGlass.git
synced 2025-10-16 20:38:16 +00:00
[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:
@@ -245,10 +245,11 @@ void overlayGraph_iterate(void (*callback)(GraphHandle handle, const char * name
|
||||
ll_unlock(gs.graphs);
|
||||
}
|
||||
|
||||
void overlayGraph_invalidate(void)
|
||||
void overlayGraph_invalidate(GraphHandle handle)
|
||||
{
|
||||
if (!gs.show)
|
||||
return;
|
||||
|
||||
app_invalidateWindow(false);
|
||||
if (handle->enabled)
|
||||
app_invalidateWindow(false);
|
||||
}
|
||||
|
Reference in New Issue
Block a user