Set SDL audio buffer to maximum of 3 frames.
This commit is contained in:
parent
18c2ea61c6
commit
2f5219ee8f
|
@ -25,8 +25,9 @@
|
||||||
|
|
||||||
extern int emulating;
|
extern int emulating;
|
||||||
|
|
||||||
// Hold up to 300 ms of data in the ring buffer
|
// Hold up to 50 ms of data in the ring buffer
|
||||||
const double SoundSDL::buftime = 0.300;
|
// 3 frames
|
||||||
|
const double SoundSDL::buftime = 0.050;
|
||||||
|
|
||||||
SoundSDL::SoundSDL():
|
SoundSDL::SoundSDL():
|
||||||
samples_buf(0),
|
samples_buf(0),
|
||||||
|
|
Loading…
Reference in New Issue