spu2x sdl: increase the number of samples

Avoid alsa error "buffer underrun"
This commit is contained in:
Gregory Hainaut 2016-08-09 11:34:51 +02:00
parent efb5c85c76
commit 0b86aad059
1 changed files with 1 additions and 1 deletions

View File

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