Alsa-Devel Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [alsa-devel] Question about DPCM FE vs BE
@ 2019-10-09  7:57 Kuninori Morimoto
  2019-10-09 14:20 ` Pierre-Louis Bossart
  0 siblings, 1 reply; 6+ messages in thread
From: Kuninori Morimoto @ 2019-10-09  7:57 UTC (permalink / raw)
  To: Mark Brown; +Cc: Linux-ALSA


Hi ALSA ML

In my understanding, DPCM needs FE and BE.
And, one FE can have multiple BE, and one BE can have multiple FE.

My question this time is that one snd_soc_pcm_runtime can be both
FE and BE in the same time (= Sometimes FE, sometimes BE) ??

In my understanding, it never happen.
But, is this correct ?

I'm asking because do we need .be_clients/.fe_clients ?
If one pcm_runtime can't be FE / BE in the same time,
just .clients is enough I think.

	static int dpcm_be_connect(...)
	{
		...
-		list_add(&dpcm->list_be, &fe->dpcm[stream].be_clients);
-		list_add(&dpcm->list_fe, &be->dpcm[stream].fe_clients);
+		list_add(&dpcm->list_be, &fe->dpcm[stream].clients);
+		list_add(&dpcm->list_fe, &be->dpcm[stream].clients);
		...
	}


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2019-10-10 14:08 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-09  7:57 [alsa-devel] Question about DPCM FE vs BE Kuninori Morimoto
2019-10-09 14:20 ` Pierre-Louis Bossart
2019-10-09 23:50   ` Kuninori Morimoto
2019-10-10  2:20     ` Pierre-Louis Bossart
2019-10-10  2:38       ` Kuninori Morimoto
2019-10-10 14:07         ` Mark Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox