Re: ASoC component/card relationship

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

 



On 04. 05. 22 17:26, Pierre-Louis Bossart wrote:

My take is that the topology should not make any hard-coded assumptions
on the hardware connection to the codecs but be given the information
before the topology is loaded.

The information is already coded in the topology filename, so it should be easy to extend the topology format to refer to the machine variables instead using the fixed numbers or strings. Eventually, it may be easy to conditionally use a blocks from the topology on demand, if the referred variables do not exist.

sof-tgl-es8336-ssp0.tplg
sof-tgl-es8336-ssp2.tplg

All these topologies come from the same file, and generated using
macros. That makes no sense to me, this should be the same topology that
is remapped at run-time.

Yes, it should be handled more elegantly.

					Jaroslav

--
Jaroslav Kysela <perex@xxxxxxxx>
Linux Sound Maintainer; ALSA Project; Red Hat, Inc.



[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