Lines Matching refs:status
298 int status = 0;
326 status = -EINVAL;
351 status = -EINVAL;
354 return status;
359 int status = 0;
367 status = agc->set_target_level_dbfs(-(*(int16_t *)pValue / 100));
371 status = agc->set_compression_gain_db(*(int16_t *)pValue / 100);
375 status = agc->enable_limiter(*(bool *)pValue);
382 status = agc->set_target_level_dbfs(-(pProperties->targetLevel / 100));
383 if (status != 0) break;
384 status = agc->set_compression_gain_db(pProperties->compGain / 100);
385 if (status != 0) break;
386 status = agc->enable_limiter(pProperties->limiterEnabled);
390 status = -EINVAL;
394 ALOGV("AgcSetParameter() done status %d", status);
396 return status;
461 int status = 0;
475 status = -EINVAL;
478 return status;
483 int status = 0;
490 status = effect->session->apm->set_stream_delay_ms(value/1000);
491 ALOGV("AecSetParameter() echo delay %d us, status %d", value, status);
495 status = -EINVAL;
498 return status;
600 int status = 0;
601 return status;
606 int status = 0;
630 status = -EINVAL;
633 return status;
693 int status = 0;
712 status = effect->ops->create(effect);
718 status = -ENOSYS;
728 status = -ENOSYS;
746 status = -ENOSYS;
762 if (status == 0) {
765 return status;
808 int status = 0;
815 for (i = 0; i < PREPROC_NUM_EFFECTS && status == 0; i++) {
816 status = Effect_Init(&session->effects[i], i);
818 return status;
826 int status = -ENOMEM;
877 status = Effect_Create(&session->effects[procId], session, interface);
878 if (status < 0) {
883 return status;
894 return status;
948 int status;
965 status = session->apm->Initialize(processing_config);
966 if (status < 0) {
1086 int status = session->apm->Initialize(processing_config);
1087 if (status < 0) {
1177 int status = 0;
1182 for (i = 0; i < PREPROC_NUM_SESSIONS && status == 0; i++) {
1183 status = Session_Init(&sSessions[i]);
1185 sInitStatus = status;
1514 p->status = effect->ops->get_parameter(effect, p->data,
1893 int status;
1914 status = Session_CreateEffect(session, procId, pInterface);
1916 if (status < 0 && session->createdMsk == 0) {
1919 return status;