Fix SDL audio delay

Fixes #647

300ms is just too big, and produces an audible delay. 100ms sounds
much better.
This commit is contained in:
Clownacy 2020-12-14 17:28:12 +00:00 committed by Rafael Kitover
parent 7db3c817eb
commit 064fa7b067
1 changed files with 2 additions and 2 deletions

View File

@ -25,8 +25,8 @@
extern int emulating;
// Hold up to 300 ms of data in the ring buffer
const double SoundSDL::buftime = 0.300;
// Hold up to 100 ms of data in the ring buffer
const double SoundSDL::buftime = 0.100;
SoundSDL::SoundSDL():
samples_buf(0),