Skip to content

[BUG] multiple-pipeline-playback may start recording!!!! #1022

@plbossart

Description

@plbossart

Describe the bug
While using the sof-test scripts on a platform with limited capabilities, I came across a "feature" of the multiple-pipeline-playback/capture scripts.

Because of limited capabilities, I only allowed for 2 PCM playback devices by skipping all others with
TPLG_IGNORE_LST['pcm']='HDA Digital,Port2'

This results in Port0 and Port1 being used.

However this also results in Port0 and Port1 being used for capture in parallel with playback. This seems to be a 'feature' where capture streams are added if there are fewer than 4 playback devices.

That's not supposed to happen, mixing playback and capture is a different test.

To Reproduce
TPLG=/lib/firmware/intel/sof-ace-tplg/sof-lnl-nocodec.tplg /root/sof-test-main/test-case/multiple-pipeline-playback.sh -l 50
TPLG=/lib/firmware/intel/sof-ace-tplg/sof-lnl-nocodec.tplg /root/sof-test-main/test-case/multiple-pipeline-capture.sh -l 50

Expected behavior
playback should only playback...

@mengdonglin @keqiaozhang @marc-hb @fredoh9 FYI, this problem needs to be fixed to allow the use of scripts even with limited capabilities.

Metadata

Metadata

Assignees

Labels

P1Blocker bugs or important featurestype:bugSomething doesn't work as expected

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions