зеркало из https://github.com/mozilla/cubeb.git
Bug 1531833 - Make setting the performance mode in OpenSL ES a non fatal error, it's not available on some Android versions that are supported. r?achronop
Differential Revision: https://phabricator.services.mozilla.com/D26727
This commit is contained in:
Родитель
751df98bd5
Коммит
c2ed6c9e44
|
@ -1135,9 +1135,8 @@ opensl_configure_playback(cubeb_stream * stm, cubeb_stream_params * params) {
|
|||
&performanceMode,
|
||||
sizeof(performanceMode));
|
||||
if (res != SL_RESULT_SUCCESS) {
|
||||
LOG("Failed to set Android performance mode to %d Error code: %lu",
|
||||
performanceMode, res);
|
||||
return CUBEB_ERROR;
|
||||
LOG("Failed to set Android performance mode to %d Error code: %lu. This is"
|
||||
" not fatal", performanceMode, res);
|
||||
}
|
||||
|
||||
res = (*stm->playerObj)->Realize(stm->playerObj, SL_BOOLEAN_FALSE);
|
||||
|
|
Загрузка…
Ссылка в новой задаче