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-case: test-speaker.sh: fix test for PCMs that only support 32bit #1155

Merged
merged 1 commit into from
Jan 24, 2024

Conversation

kv2019i
Copy link
Contributor

@kv2019i kv2019i commented Jan 19, 2024

The speaker-test "wav" test method supports only 48000Hz and 16bit files. If a topology has a PCM that does not support S16_LE, a different speaker-test method must be used.

@kv2019i kv2019i requested a review from a team as a code owner January 19, 2024 14:40
Copy link
Collaborator

@marc-hb marc-hb left a comment

Choose a reason for hiding this comment

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

The warning in https://github.com/thesofproject/sof-test/actions/runs/7585249087/job/20660669613?pr=1155 is unfortunately valid, relevant and very easy to fix. Sorry!

Always use shellcheck. It's so simple and fast to use.

The speaker-test "wav" test method supports only 48000Hz and
16bit files. If a topology has a PCM that does not support S16_LE,
a different speaker-test method must be used.

Signed-off-by: Kai Vehmanen <[email protected]>
@kv2019i kv2019i force-pushed the 202401-fix-speaker-test-part2 branch from 45df9c8 to 7922a8d Compare January 23, 2024 10:52
@marc-hb marc-hb merged commit a7e28c8 into thesofproject:main Jan 24, 2024
5 of 6 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.

2 participants