update audio

This commit is contained in:
Logan McNaughton committed 2022-02-19 10:32:02 -07:00
1 parent 106e57afbe
commit e8507b1bbb
1 file changed
+1 -1
+1 -1
View File
@@ -154,7 +154,7 @@ EXPORT void CALL AiLenChanged( void )
{
unsigned int audio_queued = SDL_GetQueuedAudioSize(dev);
unsigned int acceptable_latency = (hardware_spec->freq * 0.2) * 4;
unsigned int min_latency = (hardware_spec->freq * 0.04) * 4;
unsigned int min_latency = (hardware_spec->freq * 0.02) * 4;
if (!paused && audio_queued < min_latency)
{