Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TEST] [Do not merge] Multiband-DRC test IPC4 switch control add control send #8168

Conversation

singalsu
Copy link
Collaborator

@singalsu singalsu commented Sep 6, 2023

This just a test for new kernel feature to update ALSA control from IPC4 firmware, during the playback the switch control blinks on/off while audio is streamed.

The contol update is in the last commit.

The structs sof_ipc4_control_msg_payload and sof_ipc4_ctrl_value_chan
match the similar structures in Linux kernel SOF IPC4 driver.

Signed-off-by: Seppo Ingalsuo <[email protected]>
This patch adds switch control handling into multiband_drc_set_config()
operation. The switch control is a set large config with
param_id set to SOF_IPC4_SWITCH_CONTROL_PARAM_ID.

The patch changes config_id to param_id in this function. The
config_id name was confusing.

Signed-off-by: Seppo Ingalsuo <[email protected]>
The workaround is preserved but the comment is updated to describe why.

Signed-off-by: Seppo Ingalsuo <[email protected]>
Testing 1 2 3 ... This just toggles the switch control state
to user space. Leave alsamixer running and watch the control
blink :)

Signed-off-by: Seppo Ingalsuo <[email protected]>
@singalsu singalsu closed this Oct 3, 2023
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.

1 participant