sof icon indicating copy to clipboard operation
sof copied to clipboard

ipc4: Ensure pipeline component directions are synchronized

Open tmleman opened this issue 1 year ago • 2 comments

This patch addresses an issue where audio output could be silent due to the direction property of pipeline components not being set. The added code ensures that if the source component's direction is unset but the sink's direction is set, or vice versa, the direction is copied from the set component to the unset one.

This synchronization of the direction property guarantees that the pipeline's data flow is correctly established, allowing the pipeline_for_each_comp function to traverse and process all components as intended, thus resolving the silent audio output problem.

tmleman avatar Mar 20 '24 12:03 tmleman

@kv2019i please take another look.

tmleman avatar Mar 28 '24 14:03 tmleman

Ready to go once mandatory CI checks are green.

kv2019i avatar Mar 28 '24 15:03 kv2019i

No further comments, so proceeding with merge.

kv2019i avatar Apr 04 '24 10:04 kv2019i