Audio routing

瀏覽次數:226 次
跳到第一則未讀訊息

venkat k raju

未讀,
2012年4月29日 清晨5:36:102012/4/29
收件者:rowboat、android-porting
Dear all,

how to route gsm channel audio to processor audio channel(mcbsp)?

is it software control or hardware control?

if software control can anybody suggest me

 
thanks&Regards
k.v.raju

Gabriel M. Beddingfield

未讀,
2012年4月29日 下午4:52:232012/4/29
收件者:kvraj...@gmail.com、rowboat、android-porting
On 04/29/2012 04:36 AM, venkat k raju wrote:
> Dear all,
>
> how to route gsm channel audio to processor audio channel(mcbsp)?
>
> is it software control or hardware control?
>
> if software control can anybody suggest me

In ICS the routing is controlled by the Audio HAL. Typically
/system/hw/audio.primary.<device_name>.so. (In GB it was something
similar, but different.)

Therefore, how it's handled is specific to the capabilities of the
device. For example, the Audio Back-End (ABE) of OMAP 4 processors
allows fairly flexible mixing and routing. It's able to move the audio
directly from the modem to the audio codec (bypassing the CPU) so that
it can be heard out the handsfree speaker or headset. It can also route
the audio to an ALSA capture port to utilise it in userspace. These
routings are usually controlled with ALSA mixer settings.

And if the hardware doesn't support it... then often the "glue" code
will be added in the HAL.

I would start with looking at existing Audio HAL's. In the source tree
it's usually located at device/<vendor>/<device>/audio/audio_hw.c.

-gabriel

venkat k raju

未讀,
2012年4月29日 晚上10:30:372012/4/29
收件者:Gabriel M. Beddingfield、rowboat、android-porting
Hi Gabriel M. Beddingfield ,
thank you .

i am working with GB.
 if the hardware doesn't support it
yes!! my hardware wise routing support not there.

somehow i didn't find the audio_hw.c in my GB source code.

is the same name in GB also?


--
thanks&Regards
k.v.raju
回覆所有人
回覆作者
轉寄
0 則新訊息