mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 08:37:41 +00:00
(OpenSL) Fix issues with cores using threaded audio - audio thread
would freeze waiting for a signal while toggling the menu
This commit is contained in:
parent
1fb7d14b36
commit
54708a944a
@ -200,6 +200,9 @@ error:
|
||||
static bool sl_stop(void *data)
|
||||
{
|
||||
sl_t *sl = (sl_t*)data;
|
||||
|
||||
opensl_callback((SLAndroidSimpleBufferQueueItf) 0, data);
|
||||
|
||||
sl->is_paused = (SLPlayItf_SetPlayState(sl->player, SL_PLAYSTATE_STOPPED)
|
||||
== SL_RESULT_SUCCESS) ? true : false;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user