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

Commit 107ee416 authored by Willi Ye's avatar Willi Ye
Browse files

post_proc: Fix mismerge by CAF

* Assigning mixer to out_ctxt->ctl makes no sense
* This fixes audio effects

Change-Id: Ib7a8321bdccb7be48d790cf7129c4d126a1ac2f0
parent 98d99cec
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -252,7 +252,8 @@ int offload_effects_bundle_hal_start_output(audio_io_handle_t output, int pcm_id
        free(out_ctxt);
        goto exit;
    } else {
        out_ctxt->ctl = mixer;
        out_ctxt->mixer = mixer;
        out_ctxt->ctl = mixer_get_ctl_by_name(out_ctxt->mixer, mixer_string);
        if (!out_ctxt->ctl) {
            ALOGE("mixer_get_ctl_by_name failed");
            out_ctxt->mixer = NULL;