[alsa-devel] Reg: Implementation of GSM digital audio path
Peter Ujfalusi
peter.ujfalusi at nokia.com
Thu Jun 25 12:35:08 CEST 2009
On Thursday 25 June 2009 12:47:54 ext shariff wrote:
> Hi all,
>
> Iam working on OMAP3 based custom board. On our board, GSM digital
> audio path is connected to McBSP3 and
> TWL4030 digital audio path is connected to McBSP2.
>
> I want to implement a module that transfers GSM audio data and store audio
> data into some buffer and redirect it to TWL4030 audio codec through
> McBSP2.
>
> I question is how can I implement this in ASoC?
>
> I studied ASoC framework, but I am unable to understand where to implement
> my stuff.
I think the following should do something like that:
arecord -Dplughw:0.0 | aplay -Dplughw:0.1
or
arecord -Dhw:0.0 | aplay -Dhw:0.1
I don't know what is the order of the PCMs with the twl4030 codec on your
board, this is with the assumption:
plughw:0.0 - Voice PCM (McBSP3)
plughw:0.1 - Digital audio PCM (McBSP2)
You might want to try the --rate parameter for arecord to use 16KHz recording
from the Voice interface..
>
> Regards,
> Shariff
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel at alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
--
Péter
More information about the Alsa-devel
mailing list