Re: Reg: Implementation of GSM digital audio path

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

 



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@xxxxxxxxxxxxxxxx
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

-- 
Péter
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel


[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux