mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-07 20:08:13 +00:00
pspaudio: Patched to compile.
This commit is contained in:
@@ -82,7 +82,7 @@ static int PSPAUDIO_OpenDevice(SDL_AudioDevice *device)
|
|||||||
device->hidden->channel = sceAudioSRCChReserve(device->sample_frames, device->spec.freq, 2);
|
device->hidden->channel = sceAudioSRCChReserve(device->sample_frames, device->spec.freq, 2);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (_this->hidden->channel < 0) {
|
if (device->hidden->channel < 0) {
|
||||||
return SDL_SetError("Couldn't reserve hardware channel");
|
return SDL_SetError("Couldn't reserve hardware channel");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user