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

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

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

335 Views
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 Kudos
1 Reply

301 Views
JorgeCas
NXP TechSupport
NXP TechSupport

Hello,

I suggest you take a look on MediaPlayer overview.

Best regards.

0 Kudos