mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 10:04:39 +00:00
Properly close AudioOut handle
Based on library decompilation.
This commit is contained in:
parent
aaf845e7df
commit
5a6a017c49
@ -530,6 +530,9 @@ s32 PS4_SYSV_ABI sceAudio3dTerminate() {
|
||||
if (!state) {
|
||||
return ORBIS_AUDIO3D_ERROR_NOT_READY;
|
||||
}
|
||||
|
||||
AudioOut::sceAudioOutOutput(state->audio_out_handle, nullptr);
|
||||
AudioOut::sceAudioOutClose(state->audio_out_handle);
|
||||
state.release();
|
||||
return ORBIS_OK;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user