Skip to content

Commit 1d63c49

Browse files
Fix OpenAL blocking regression (#18258)
1 parent 62a09b5 commit 1d63c49

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

audio/drivers/openal.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -237,15 +237,11 @@ static bool al_get_buffer(al_t *al, ALuint *buffer)
237237
if (al_unqueue_buffers(al))
238238
break;
239239

240-
#ifndef EMSCRIPTEN
241240
if (al->nonblock)
242-
#endif
243241
return false;
244242

245-
#ifndef _WIN32
246243
/* Must sleep as there is no proper blocking method. */
247244
retro_sleep(1);
248-
#endif
249245
}
250246

251247
*buffer = al->res_buf[--al->res_ptr];

0 commit comments

Comments
 (0)