Failing to set the input type on an input stream on OpenSL ES should not be fatal

This allows supporting ancient Android versions.
This commit is contained in:
Paul Adenot 2019-04-15 11:41:37 +02:00
Родитель c0a71704ae
Коммит a609b30ab8
1 изменённых файлов: 1 добавлений и 2 удалений

Просмотреть файл

@ -917,9 +917,8 @@ opensl_configure_capture(cubeb_stream * stm, cubeb_stream_params * params)
if (res != SL_RESULT_SUCCESS) {
LOG("Failed to set the android configuration to VOICE for the recorder. "
"Error code: %lu",
"Error code: %lu. This is not fatal.",
res);
return CUBEB_ERROR;
}
// realize the audio recorder