mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-05-31 14:29:14 +08:00
psp: fix audio not playing
This commit is contained in:
committed by
Sam Lantinga
parent
3195980b49
commit
3d1a28ccf2
@@ -114,7 +114,7 @@ static bool PSPAUDIO_PlayDevice(SDL_AudioDevice *device, const Uint8 *buffer, in
|
|||||||
} else {
|
} else {
|
||||||
rc = sceAudioOutputPannedBlocking(device->hidden->channel, PSP_AUDIO_VOLUME_MAX, PSP_AUDIO_VOLUME_MAX, (void *) buffer);
|
rc = sceAudioOutputPannedBlocking(device->hidden->channel, PSP_AUDIO_VOLUME_MAX, PSP_AUDIO_VOLUME_MAX, (void *) buffer);
|
||||||
}
|
}
|
||||||
return (rc == 0);
|
return (rc >= 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
static bool PSPAUDIO_WaitDevice(SDL_AudioDevice *device)
|
static bool PSPAUDIO_WaitDevice(SDL_AudioDevice *device)
|
||||||
|
|||||||
Reference in New Issue
Block a user