From 775ac7ce8b9484da05207c4cabb1d6cea12c7851 Mon Sep 17 00:00:00 2001 From: Geoffrey McRae Date: Mon, 17 Jan 2022 22:23:37 +1100 Subject: [PATCH] [client] audio: reduce timing graph sample count to 30 seconds --- client/src/audio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/audio.c b/client/src/audio.c index 82dd8f05..78e756bf 100644 --- a/client/src/audio.c +++ b/client/src/audio.c @@ -139,7 +139,7 @@ void audio_playbackStart(int channels, int sampleRate, PSAudioFormat format, // if the audio dev can report it's latency setup a timing graph if (audio.audioDev->playback.latency) { - audio.playback.timings = ringbuffer_new(2400, sizeof(float)); + audio.playback.timings = ringbuffer_new(1200, sizeof(float)); audio.playback.graph = app_registerGraph("PLAYBACK", audio.playback.timings, 0.0f, 100.0f, audioGraphFormatFn); }