-
Notifications
You must be signed in to change notification settings - Fork 349
[TEST] Do not merge: use demux for synchronize playback #2495
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
To avoid it is reset to 0 when second alh is registered to the same stream. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
|
@bardliao I assume both ALH DAIs have the same rate and same clock domain ? This will need define multiple time for each DAI that is connected. You will also need to add logic to dai.c that will delay triggering a connected DAI (until all DAIs are ready) then trigger all in one operation. |
Yes, they are identical.
Thanks @lgirdwood for the instruction. The issue I meet is that somehow there is no output from ALH0x202. In fact, I think there is no data on BUF3.3 but I didn't verify it. Currently, demux is restricted to use two different pipeline. So maybe we need to modify demux to support this scenario first. |
I would expect the demux to write to buf 3.3 and buf 3.2 for every copy invocation. Have you checked the demux runtime kconfig ? It could be one output is disabled by a kcontrol. |
No, that is byte control. Is there a tool to check/configure it? BTW, I was told that the first item of 0x01,0x00,0x00,0x00,0x02,0x01,0x02,0x04 and 0x05,0x00,0x00,0x00,0x02,0x01,0x02,0x04, (0x01 and 0x05) are the pipeline which are connected to the demux. But I will get ipc error if I change them to 0x03 and 0x03. |
|
@lgirdwood no there isn't. I have have my own tool in my own machine.... I understood, that the situation is that we should be moving to use the channel map in demux and get rid of var arrays in ipc/fw -> and move to tuples in tplg, so no blob/tool would be needed. So I don't know what should be the best thing to do now...? |
|
@juimonen what's blocking the channel map updates ? Do they have any merge blockers ? |
|
@lgirdwood I have not followed the FW side on this... @fkaczmar is someone on FW side working on mux/demux? I understood there are some changes on the way? |
|
@juimonen so are you saying the driver side is ready but FW side is not ? |
|
@lgirdwood probably not.
|
|
@juimonen @lgirdwood We may not need channel map for the synchronize playback feature. We will send identical data to all DAIs. @tlauda gave me some suggestion on the topology part. I will try it tomorrow. |
5a36ce1 to
e5b1658
Compare
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
|
Replaced by #2526 |
I am trying to create a topology for synchronize playback on different links.
It will look like