Re: Counting links in simple-card

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

 



Hi Daniel

> > Do you mean CPU-dummy + dummy-Codec ?
> > But anyway, simple-card/audio-graph DPCM support is very limited.
> > Unfortunately it doesn't have flexibility...
> 
> Yes, exactly. I need 1 DAI link with 1 FE + 1 BE for DSP / SOF  usecase.

simple-card support it
if it needs convert-rate or convert-channels.
Please check below

	static simple_for_each_link(xxx)
	{
		...
		for_each_child_of_node(node, np) {
			/*
			 * It is DPCM
			 * if it has many CPUs,
			 * or has convert-xxx property
			 */
(1)			if (dpcm_selectable &&
(2)			    (num > 2 ||
(3)			     adata.convert_rate || adata.convert_channels))
				ret = func_dpcm(priv, np, codec, li, is_top);
			...

(1) : using simple-scu-audio-card
(2) : 2 nodes or more
(3) : has convert-xxx property

Thank you for your help !!
Best regards
---
Kuninori Morimoto
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
https://mailman.alsa-project.org/mailman/listinfo/alsa-devel



[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux