Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit be726a26 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "HAL: QAP-Test: support for QAP associated decoding"

parents 466b25ee 67b2b0cf
Loading
Loading
Loading
Loading
+8 −2
Original line number Diff line number Diff line
@@ -1718,11 +1718,17 @@ qap_module_handle_t qap_wrapper_stream_open(void* stream_data)
            ALOGV("%s::%d Set Secondary System Sound Flag", __func__, __LINE__);
            input_config.flags = QAP_MODULE_FLAG_SYSTEM_SOUND;
            stream_info->system_input = true;
        } else {
            if (stream_info->flags & AUDIO_OUTPUT_FLAG_ASSOCIATED) {
                ALOGV("%s::%d Set Secondary Assoc Input Flag", __func__, __LINE__);
                input_config.flags = QAP_MODULE_FLAG_SECONDARY;
                stream_info->sec_input = true;
            } else {
                ALOGV("%s::%d Set Primary Main Input Flag", __func__, __LINE__);
                input_config.flags = QAP_MODULE_FLAG_PRIMARY;
            }
        }
    }

    if (!encode)
        input_config.module_type = QAP_MODULE_DECODER;