From a09efc73d2de009fb308a0dac9cb48821179631d Mon Sep 17 00:00:00 2001 From: "Ryan C. Gordon" Date: Fri, 4 Aug 2017 16:18:34 -0400 Subject: [PATCH] psp: Force audio channels to stereo if > 2 channels requested (thanks, Solra!). Fixes Bugzilla #3726. --- src/audio/psp/SDL_pspaudio.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/audio/psp/SDL_pspaudio.c b/src/audio/psp/SDL_pspaudio.c index 98dd9448d..83b7bcbe3 100644 --- a/src/audio/psp/SDL_pspaudio.c +++ b/src/audio/psp/SDL_pspaudio.c @@ -80,6 +80,7 @@ PSPAUDIO_OpenDevice(_THIS, void *handle, const char *devname, int iscapture) if (this->spec.channels == 1) { format = PSP_AUDIO_FORMAT_MONO; } else { + this->spec.channels = 2; format = PSP_AUDIO_FORMAT_STEREO; } this->hidden->channel = sceAudioChReserve(PSP_AUDIO_NEXT_CHANNEL, this->spec.samples, format);