[no subject]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Now dai_link->dai_fmt is including 4 type of info

	1. DAI hardware audio formats
	2. DAI Clock gating
	3. DAI hardware signal polarity
	4. DAI hardware clock providers/consumers

I think we want to separate 4 (and maybe 2 too ?) from it to support
more flexible system ?

Legacy system
	dai_link->dai_fmt		// include all 1, 2, 3, 4

New system
	dai_link->dai_fmt		// include 1, 2, 3 (or 1, 3)
	dai_link->cpus[idx].fmt		// include 4       (or 2, 4)

	fmt = dai_link->dai_fmt | dai_link->cpus[i].fmt

"flip" has effect to 4 only, so New system has no issue with flipping
on dai_link->dai_fmt.


> simple_card/audio-graph-card/audio-graph-card2 are using same logic around here.

I'm sorry, this was wrong.
simple_card/audio-graph-card are using same function/method, but
audio-graph-card2 is using own method to handing dai_link->dai_fmt

Thank you for your help !!

Best regards
---
Kuninori Morimoto





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux