How to handle complex Codec2Codec

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

 



Hi ALSA ML

ALSA SoC is supporting Codec2Codec connection, and Audio Graph Card2 is
supporting it. I think its image is...

	     +------+
	+--- |Codec1| <--
	|    +------+
	|    +------+
	+--> |Codec2| -->
	     +------+

This is OK, but how to handle below ?

	+----------------------+
	|CPU                   |     +------+
	|  +--[rate convert]<--| <-- |Codec1| <--
	|  |                   |     +------+
	|  |                   |     +------+
	|  +------------------>| --> |Codec2| -->
	+----------------------+     +------+

I think there are 2 issues.
	(1) How to handle [CPU] part     on Codec2Codec ?
	(2) How to handle [rate convert] on Codec2Codec ?

I guess (1) can be handled if [CPU] was worked as platform,
but do you have any other idea/solution for it ?

I think (2) [rate convert] needs DPCM connection,
but how to use it with Codec2Codec ?

Or, can we handle Codec2Codec via DPCM somehow ??

	    FE          BE
	    +------+    +------+
	--> |Codec1| -> |Codec2| ->
	    +------+    +------+

If we can do this, both (1) and (2) can be solved, like below ?
In such case, [Codec1] need to work as [capture] when playback.
But I'm not sure how to implement it...

	    FE                              BE
	    +------+ +-----------------+    +-----+ +------+
	--> |Codec1|-|CPU[rate convert]| -> |dummy|-|Codec2|  ->
	    +------+ +-----------------+    +-----+ +------+


Thank you for your help !!

Best regards
---
Kuninori Morimoto



[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