Not able to play audio in android11 through GUI using mediaplayer apps

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Not able to play audio in android11 through GUI using mediaplayer apps

1,256 次查看
supraja
Contributor I

Hi,

1. In command prompt using Tinyplay  command we verified the module is working. default wm8960 module is taking and audio also playing.

2. we played the alarm default songs and we can hear the songs through wm8960 audio module module.

3. suppose we played the audio through any media player application/app, we can't hear any audio.     

3.1 what changes required to play the audio through media player app?

3.2  audio_policy_configuration.xml any configuration changes are required?

3.3 I also made changes in vendor/nxp-opensource/imx/alsa/tinyalsa_hal.cpp file also ?

I already referred android user guide section 8.2.3 and Audio configuration

I made some configuration changes in audio_policy_configuration.xml and wm8960_config.json file ,it is not working as expected.

I attached the logs for audio played through alarm and music player app and also files which I made changes.

 Thanks,

supraja

0 项奖励
回复
1 回复

1,222 次查看
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

I suggest you take a look on MediaPlayer overview.

Best regards.

0 项奖励
回复