mirror of
https://git.eden-emu.dev/eden-emu/eden
synced 2026-05-18 23:07:00 +02:00
wait after audio process
This commit is contained in:
parent
9cf1faf9d0
commit
157904d20e
1 changed files with 2 additions and 3 deletions
|
|
@ -46,11 +46,10 @@ struct PS4SinkStream final : public SinkStream {
|
|||
// this->ProcessAudioIn(input_buffer, length);
|
||||
} else {
|
||||
int err = 0;
|
||||
sceAudioOutOutput(audio_dev, nullptr);
|
||||
this->ProcessAudioOutAndRender(output_buffer, length);
|
||||
if ((err = sceAudioOutOutput(audio_dev, output_buffer.data())) < 0) {
|
||||
sceAudioOutOutput(audio_dev, nullptr);
|
||||
if ((err = sceAudioOutOutput(audio_dev, output_buffer.data())) < 0)
|
||||
LOG_ERROR(Service_Audio, "{}", err);
|
||||
}
|
||||
}
|
||||
}
|
||||
sceAudioOutClose(audio_dev);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue