Audio route for HFP in IMX8QM-MEK for Android Automotive

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Audio route for HFP in IMX8QM-MEK for Android Automotive

1,879件の閲覧回数
vinothkumars
Senior Contributor IV

Dear NXP,

 

I working on WM8960 audio codec for HFP. But, mic is working fine. But, not able to get voice in wired headset while in call.

 

By default output device in call,

       audio_hw_primary: select_output_device(), headphone 0 ,headset 0 ,speaker 0, earpiece 1

Why it's take xtor audio for HFP ?

 

Thanks & Regards,

Regards,
Vinothkumar Sekar
ラベル(2)
0 件の賞賛
5 返答(返信)

1,860件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

Hi vinothkumars

 

you are right, fsl,imx-audio-xtor driver is used for sending audio data through

PCM/I2S interface to bluetooth chip:

https://git.isee.biz/linux-kernel/linux-imx/commit/f956a5fd9b0c100a801c542c2ce00dd32b8b97df?view=par...

It is dummy audio driver, similar to "simple-audio-card".

 

Best regards
igor

0 件の賞賛

1,854件の閲覧回数
vinothkumars
Senior Contributor IV

Thank you igorpadykov for the reply.

 

Shell I use this patch https://git.isee.biz/linux-kernel/linux-imx/commit/f956a5fd9b0c100a801c542c2ce00dd32b8b97df?view=par...  ?

 

source/vendor/nxp-opensource/imx/alsa/tinyalsa_hal.c

Why here routed to Earpiece while in call

if (adev->out_device == AUDIO_DEVICE_OUT_SPEAKER)

        adev->out_device = AUDIO_DEVICE_OUT_EARPIECE;

 

Regards,

Regards,
Vinothkumar Sekar
0 件の賞賛

1,846件の閲覧回数
igorpadykov
NXP Employee
NXP Employee

for HFP may be useful:

https://community.cypress.com/thread/7520?start=0&tstart=0

 

Best regards
igor

0 件の賞賛

1,836件の閲覧回数
vinothkumars
Senior Contributor IV

Thank you Igor for the reply.

Will you please give some info why here routed to output device as Earpiece.

 

source/vendor/nxp-opensource/imx/alsa/tinyalsa_hal.c

Why here routed to Earpiece while in call

if (adev->out_device == AUDIO_DEVICE_OUT_SPEAKER)

        adev->out_device = AUDIO_DEVICE_OUT_EARPIECE;

 

audio_hw_primary: adev_open_output_stream: enter: sample_rate(48000) channel_mask(0x3) format(0x1) devices(0x1000000) flags(0x2), address(bus1_system_sound_out)

 

and also please let me know why output device always devices(0x1000000)

 

 

Regards,

Regards,
Vinothkumar Sekar
0 件の賞賛

1,800件の閲覧回数
vinothkumars
Senior Contributor IV

Hi,

 

Will you please tell which card (WM8960 or CS422888) used for HFP by default

Regards,
Vinothkumar Sekar
0 件の賞賛