Skip to content

Commit 3d1a28c

Browse files
sharkwouterslouken
authored andcommitted
psp: fix audio not playing
1 parent 3195980 commit 3d1a28c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/audio/psp/SDL_pspaudio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ static bool PSPAUDIO_PlayDevice(SDL_AudioDevice *device, const Uint8 *buffer, in
114114
} else {
115115
rc = sceAudioOutputPannedBlocking(device->hidden->channel, PSP_AUDIO_VOLUME_MAX, PSP_AUDIO_VOLUME_MAX, (void *) buffer);
116116
}
117-
return (rc == 0);
117+
return (rc >= 0);
118118
}
119119

120120
static bool PSPAUDIO_WaitDevice(SDL_AudioDevice *device)

0 commit comments

Comments
 (0)