зеркало из https://github.com/mozilla/cubeb.git
Fix mistake break audio input on OpenSL ES
This commit is contained in:
Родитель
785a3ca155
Коммит
d07ea5aa66
|
@ -1051,12 +1051,8 @@ opensl_configure_capture(cubeb_stream * stm, cubeb_stream_params * params)
|
|||
stm->context->eng, &stm->recorderObj, &dataSource,
|
||||
&dataSink, NELEMS(lSoundRecorderIIDs),
|
||||
lSoundRecorderIIDs, lSoundRecorderReqs);
|
||||
|
||||
if (res != SL_RESULT_SUCCESS) {
|
||||
LOG("Failed to create recorder. Error code: %lu", res);
|
||||
return CUBEB_ERROR;
|
||||
}
|
||||
} else {
|
||||
}
|
||||
if (res != SL_RESULT_SUCCESS) {
|
||||
LOG("Failed to create recorder, not trying other input"
|
||||
" rate. Error code: %lu",
|
||||
res);
|
||||
|
|
Загрузка…
Ссылка в новой задаче