[client] audio: reduce timing graph sample count to 30 seconds

This commit is contained in:
Geoffrey McRae 2022-01-17 22:23:37 +11:00
parent 689cc53255
commit 775ac7ce8b

View File

@ -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);
}