Question about DPCM FE vs BE

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

 



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@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