[Sound-open-firmware] Question about comp_register

Liam Girdwood liam.r.girdwood at linux.intel.com
Wed May 9 21:07:08 CEST 2018


On Wed, 2018-05-09 at 12:03 -0700, Ranjani Sridharan wrote:
> Hello,
> 
> Is the intention for comp_register() to be called only once per type of
> component?
> 

Yes.

> For example, if I have 2 volume components in my pipeline, does it
> suffice to call sys_comp_volume_init() only once?

Yes, this just registers component type with the system so that topology can
instantiate multiple instances of that type.

Liam 

> 
> Thanks,
> Ranjani
> _______________________________________________
> Sound-open-firmware mailing list
> Sound-open-firmware at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/sound-open-firmware


More information about the Sound-open-firmware mailing list