mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-01-01 12:46:01 +00:00
Fix BB random fmv hang (#1170)
This commit is contained in:
parent
cda2317ddb
commit
348da93ee6
|
@ -100,6 +100,7 @@ s32 SDLAudio::AudioOutOutput(s32 handle, const void* ptr) {
|
||||||
if (ptr == nullptr) {
|
if (ptr == nullptr) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
lock.unlock();
|
||||||
// TODO mixing channels
|
// TODO mixing channels
|
||||||
SDL_bool result = SDL_PutAudioStreamData(
|
SDL_bool result = SDL_PutAudioStreamData(
|
||||||
port.stream, ptr, port.samples_num * port.sample_size * port.channels_num);
|
port.stream, ptr, port.samples_num * port.sample_size * port.channels_num);
|
||||||
|
|
Loading…
Reference in a new issue