Skip to content

Conversation

@bardliao
Copy link
Collaborator

The PR is to implement a topology for synchronize playback. We use demux to duplicate audio data for two DAIs.

Copy link
Member

@lgirdwood lgirdwood left a comment

Choose a reason for hiding this comment

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

Needs more comments.

Copy link
Member

Choose a reason for hiding this comment

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

Can you add some comments here on usage and what its for.

Copy link
Member

Choose a reason for hiding this comment

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

can we rename this to pipe-dai-playback.m4

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

can we rename this to pipe-dai-playback.m4

There is another pipe-dai-playback.m4 in the same folder already.

Copy link
Member

Choose a reason for hiding this comment

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

pipe-dai-endpoint

@bardliao bardliao force-pushed the topology-for-synchronize-playback branch from aacf770 to 70b0a19 Compare March 16, 2020 03:10
So we can set scheduling component when adding a DAI.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
@bardliao bardliao force-pushed the topology-for-synchronize-playback branch from 70b0a19 to f3342c0 Compare March 16, 2020 03:34
Copy link
Collaborator

Choose a reason for hiding this comment

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

this comment is wrong

Copy link
Collaborator

Choose a reason for hiding this comment

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

besides this is hardly a pipeline with the SectionGraph defined elsewhere. All you have is a buffer?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

besides this is hardly a pipeline with the SectionGraph defined elsewhere. All you have is a buffer?

I will have a buffer with a pipeline id which is required for connecting to a demux.

Copy link
Collaborator

Choose a reason for hiding this comment

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

is this needed if you're not using the N_DAI_OUT here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

is this needed if you're not using the N_DAI_OUT here?

Yeah, we don't need it. Thanks @ranj063

This is basically the same as pipe-dai-playback.m4, but use SCHED_COMP
instead of N_DAI_OUT.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
This will create a basic pipeline with a buffer only. Note that
we don't implement a SectionGraph to connect the buffer to its
starting component, we should define it manually.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Now kernel expots one PCM with two CPU dais. So use demux to play
with two DAIs.

Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
@bardliao bardliao force-pushed the topology-for-synchronize-playback branch from f3342c0 to e1ec084 Compare March 17, 2020 06:43
@lgirdwood lgirdwood merged commit 5e8de9f into thesofproject:master Mar 17, 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.

3 participants