Skip to content

Commit

Permalink
Audio: Multiband-DRC: Fix comment for switch control workaround
Browse files Browse the repository at this point in the history
The workaround is preserved but the comment is updated to describe why.

Signed-off-by: Seppo Ingalsuo <[email protected]>
  • Loading branch information
singalsu committed Sep 5, 2023
1 parent 4658f22 commit 1926420
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions src/audio/multiband_drc/multiband_drc.c
Original file line number Diff line number Diff line change
Expand Up @@ -251,11 +251,10 @@ static int multiband_drc_init(struct processing_module *mod)
cd->multiband_drc_func = NULL;
cd->crossover_split = NULL;
#if CONFIG_IPC_MAJOR_4
/* Note: Currently there is no ALSA switch control in IPC4 to control
* processing on/off. This workaround can be removed after is available.
* Binary control for configuration blob can be used instead. There is
* no processing bypass control in the blob but all processing can be
* switched to neutral with supported min. 2-band mode.
/* Initialize to enabled is a workaround for IPC4 kernel version 6.6 and
* before where the processing is never enabled via switch control. New
* kernel sends the IPC4 switch control and sets this to desired state
* before prepare.
*/
cd->process_enabled = true;
#else
Expand Down

0 comments on commit 1926420

Please sign in to comment.