-
Notifications
You must be signed in to change notification settings - Fork 318
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
component: pipeline: Refactor direction testing in pipeline propagation
Clean up some cut/paste code that had spread around, replacing it with a simpler "comp_same_dir()" predicate. No behavioral changes, just refactoring. Also remove the big comment that was repeated in triplicate. It explained this as error handling (i.e. it must be broken topology from which we want to recover), but in fact cross-pipeline widget connections in modern SOF do run in opposite directions (c.f. echo cancellation, which need to look at the output stream to process microphone input, or smart amp devices that do the reverse). So just explain it as policy: we don't propagate across opposite-direction pipelines, period. Usages that need them need to manage their pipeline lifecycles manually. Signed-off-by: Andy Ross <andyross@google.com>
- Loading branch information
Showing
3 changed files
with
24 additions
and
63 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters