(OpenSL) Fixed fall-through in sl_init
This commit is contained in:
parent
dccfb80010
commit
6e79dd6046
|
@ -169,6 +169,8 @@ static void *sl_init(const char *device, unsigned rate, unsigned latency)
|
||||||
GOTO_IF_FAIL(SLObjectItf_GetInterface(sl->buffer_queue_object, SL_IID_PLAY, &sl->player));
|
GOTO_IF_FAIL(SLObjectItf_GetInterface(sl->buffer_queue_object, SL_IID_PLAY, &sl->player));
|
||||||
GOTO_IF_FAIL(SLPlayItf_SetPlayState(sl->player, SL_PLAYSTATE_PLAYING));
|
GOTO_IF_FAIL(SLPlayItf_SetPlayState(sl->player, SL_PLAYSTATE_PLAYING));
|
||||||
|
|
||||||
|
return sl;
|
||||||
|
|
||||||
error:
|
error:
|
||||||
RARCH_ERR("Couldn't initialize OpenSL ES driver, error code: [%d].\n", (int)res);
|
RARCH_ERR("Couldn't initialize OpenSL ES driver, error code: [%d].\n", (int)res);
|
||||||
sl_free(sl);
|
sl_free(sl);
|
||||||
|
|
Loading…
Reference in New Issue