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

Commit 679c4716 authored by Andy Hung's avatar Andy Hung
Browse files

Downmix: Enable host test

Test: atest downmix_tests
Test: atest --host downmix_tests
Bug: 187062102
Change-Id: Icc961e8240e5d9182cad601fd18bee45b7add9ef
parent 1974803d
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@ license {

cc_library {
    name: "libdownmix",
    host_supported: true,
    vendor: true,
    srcs: ["EffectDownmix.cpp"],

+3 −3
Original line number Diff line number Diff line
@@ -256,8 +256,8 @@ static bool Downmix_validChannelMask(uint32_t mask)
/*--- Effect Library Interface Implementation ---*/

static int32_t DownmixLib_Create(const effect_uuid_t *uuid,
        int32_t sessionId __unused,
        int32_t ioId __unused,
        int32_t /* sessionId */,
        int32_t /* ioId */,
        effect_handle_t *pHandle) {
    int ret;
    int i;
@@ -769,7 +769,7 @@ static int Downmix_Configure(downmix_module_t *pDwmModule, effect_config_t *pCon
 *----------------------------------------------------------------------------
 */

static int Downmix_Reset(downmix_object_t *pDownmixer __unused, bool init __unused) {
static int Downmix_Reset(downmix_object_t* /* pDownmixer */, bool /* init */) {
    // nothing to do here
    return 0;
}
+3 −2
Original line number Diff line number Diff line
@@ -15,8 +15,9 @@ package {
// Use "atest downmix_tests" to run.
cc_test {
    name:"downmix_tests",
    host_supported: false,
    proprietary: true,
    gtest: true,
    host_supported: true,
    vendor: true,
    include_dirs: [
        "frameworks/av/media/libeffects/downmix",
    ],