mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-22 18:15:14 +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) {
|
if (!state) {
|
||||||
return ORBIS_AUDIO3D_ERROR_NOT_READY;
|
return ORBIS_AUDIO3D_ERROR_NOT_READY;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
AudioOut::sceAudioOutOutput(state->audio_out_handle, nullptr);
|
||||||
|
AudioOut::sceAudioOutClose(state->audio_out_handle);
|
||||||
state.release();
|
state.release();
|
||||||
return ORBIS_OK;
|
return ORBIS_OK;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user