Fix BB random fmv hang (#1170)

This commit is contained in:
bigol83 2024-09-30 18:20:57 +02:00 committed by GitHub
parent cda2317ddb
commit 348da93ee6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -100,6 +100,7 @@ s32 SDLAudio::AudioOutOutput(s32 handle, const void* ptr) {
if (ptr == nullptr) {
return 0;
}
lock.unlock();
// TODO mixing channels
SDL_bool result = SDL_PutAudioStreamData(
port.stream, ptr, port.samples_num * port.sample_size * port.channels_num);