Skip to content

Commit

Permalink
psp: Force audio channels to stereo if > 2 channels requested (thanks…
Browse files Browse the repository at this point in the history
…, Solra!).

Fixes Bugzilla #3726.
  • Loading branch information
icculus committed Aug 4, 2017
1 parent cc5ceb1 commit a09efc7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/audio/psp/SDL_pspaudio.c
Expand Up @@ -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);
Expand Down

0 comments on commit a09efc7

Please sign in to comment.