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

topology1: pipe-volume-capture.m4: Set minimum number of channels to 2 #8614

Merged
merged 1 commit into from
Dec 13, 2023

Conversation

LaurentiuM1234
Copy link
Contributor

Currently, the minimum number of channels for the capture PCM is set to the same value as the maximum number. This restricts the number of channels supported by the PCM to the maximum number. This is wrong if we want to allow arecord to work with multiple channel values. As such, follow the example of "pipe-volume-playback.m4" and introduce a new macro: LOCAL_CHANNELS_MIN. This will be set to "CHANNELS_MIN" if said macro is defined, otherwise it will be set to 2.

@LaurentiuM1234 LaurentiuM1234 marked this pull request as ready for review December 12, 2023 14:20
Currently, the minimum number of channels for the capture PCM
is set to the same value as the maximum number. This restricts
the number of channels supported by the PCM to the maximum number.
This is wrong if we want to allow arecord to work with multiple channel
values. As such, follow the example of "pipe-volume-playback.m4" and
introduce a new macro: LOCAL_CHANNELS_MIN. This will be set to
"CHANNELS_MIN" if said macro is defined, otherwise it will be set to
2.

Signed-off-by: Laurentiu Mihalcea <laurentiu.mihalcea@nxp.com>
@kv2019i
Copy link
Collaborator

kv2019i commented Dec 13, 2023

Intel CI stuck, but as this is tplg1 only, this has not relation, so I'll proceed with merge.

@kv2019i kv2019i merged commit aaff352 into thesofproject:main Dec 13, 2023
40 of 43 checks passed
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.

4 participants