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

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

Merge "post_proc: fix crash in offload effect bundle during stop output"

parents 8b1bbc47 30410f6f
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -305,9 +305,6 @@ int offload_effects_bundle_hal_stop_output(audio_io_handle_t output, int pcm_id)
        goto exit;
    }

    if (out_ctxt->mixer)
        mixer_close(out_ctxt->mixer);

    list_for_each(fx_node, &out_ctxt->effects_list) {
        effect_context_t *fx_ctxt = node_to_item(fx_node,
                                                 effect_context_t,
@@ -316,6 +313,9 @@ int offload_effects_bundle_hal_stop_output(audio_io_handle_t output, int pcm_id)
            fx_ctxt->ops.stop(fx_ctxt, out_ctxt);
    }

    if (out_ctxt->mixer)
        mixer_close(out_ctxt->mixer);

    list_remove(&out_ctxt->outputs_list_node);

#ifdef DTS_EAGLE