Skip to content

Conversation

@bkokoszx
Copy link
Collaborator

Demux should select proc func based on source buffer,
because sink can be not set yet (e.g. this can be observed
in smart amplifier topology scenario where there is
buffer between playback and capture pipeline).

Signed-off-by: Bartosz Kokoszko bartoszx.kokoszko@linux.intel.com

@bkokoszx bkokoszx requested a review from akloniex as a code owner April 17, 2020 14:34
Copy link
Member

@akloniex akloniex left a comment

Choose a reason for hiding this comment

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

@bkokoszx I think that it might be most beneficial and flexible, to check whether HW params were set, before deciding which buffer to take params from.
Also, similar check could be then added to mux processing function selection.

@lgirdwood
Copy link
Member

@keyonjie will your param update fix this ?

@keyonjie
Copy link
Contributor

@keyonjie will your param update fix this ?

Yes, I think so.

@lgirdwood
Copy link
Member

@keyonjie @bkokoszx can we close this ?

@bkokoszx
Copy link
Collaborator Author

bkokoszx commented May 8, 2020

@lgirdwood
If we want to merge #2788 in future, then we can close it.

Demux should select proc func based on source buffer,
because sink can be not set yet (e.g. this can be observed
in Smart Amplifier topology scenario where we have
buffer between playback and capture pipeline).

Signed-off-by: Bartosz Kokoszko <bartoszx.kokoszko@linux.intel.com>
@bkokoszx bkokoszx force-pushed the demux-set-proc-function branch from 3d74d1c to bc34d98 Compare May 26, 2020 09:09
@lgirdwood
Copy link
Member

@akloniex @bkokoszx @keyonjie @mmaka1 my understanding is that we are pending some pipeline rules being written by @mmaka1 . Any updates here ?

Copy link

@mmaka1 mmaka1 left a comment

Choose a reason for hiding this comment

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

(de)mux is not supposed to do any conversion atm, so #2788 plus param negotiation is an extension.

@mmaka1 mmaka1 merged commit 4f1090d into thesofproject:master Jun 16, 2020
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.

5 participants