Skip to content

Conversation

@johnylin76
Copy link
Contributor

(cherry-picked from stable-v2.2)

In present multiband_drc design, the enabled state is determined by the switch control while multiband_drc starts to process. If the switch control toggles while processing, it will take effects on the next time multiband_drc starts to process.

This commit makes change to let the enabled state update instantaneously by the switch control toggle when multiband_drc is processing.

In present multiband_drc design, the enabled state is determined by
the switch control while multiband_drc starts to process. If the
switch control toggles while processing, it will take effects on the
next time multiband_drc starts to process.

This commit makes change to let the enabled state update
instantaneously by the switch control toggle when multiband_drc is
processing.

Signed-off-by: Pin-chih Lin <johnylin@google.com>
(cherry picked from commit 8e8ff75)
Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@singalsu pls review

Copy link
Collaborator

@singalsu singalsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, good to have this!

@lgirdwood lgirdwood merged commit 6ca76d5 into thesofproject:main Aug 5, 2024
}

cd->multiband_drc_func(mod, source, sink, frames);
if (cd->process_enabled)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

would it be possible to reassign cd->multiband_drc_func in multiband_drc_process_enable() and avoid the if here?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants