mirror of https://github.com/PCSX2/pcsx2.git
spu2x sdl: increase the number of samples
Avoid alsa error "buffer underrun"
This commit is contained in:
parent
efb5c85c76
commit
0b86aad059
|
@ -37,7 +37,7 @@ namespace {
|
|||
/* Samples should vary from [512,8192] according to SDL spec. Take note this is the desired
|
||||
* sample count and SDL may provide otherwise. Pulseaudio will cut this value in half if
|
||||
* PA_STREAM_ADJUST_LATENCY is set in the backened, for example. */
|
||||
const Uint16 desiredSamples = 1024;
|
||||
const Uint16 desiredSamples = 2048;
|
||||
const Uint16 format = AUDIO_S16SYS;
|
||||
|
||||
Uint16 samples = desiredSamples;
|
||||
|
|
Loading…
Reference in New Issue