Play Audio through wm8960 module from GUI (music player application) in Android11

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

Play Audio through wm8960 module from GUI (music player application) in Android11

421 Views
supraja
Contributor I

Hi  @Dhruvit ,

Greetings of the day !!

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 through alarm default songs and also customize the alarm song and able to hear it from wm8960 audio module.

     verified in  logcat it using card 0.

05-10 11:49:47.396 361 3007 D audio_hw_primary: start_output_stream: pcm_open: out->device: 2, card: 0, pcm_device_id: 0, rate: 48000, channel: 2, f9

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

     but in logcat it showing card 1.

    05-10 09:44:07.112 364 1721 D audio_hw_primary: start_output_stream: pcm_open: out->device: 1024, card: 1, pcm_device_id: 0, rate: 48000, channel: 28
     

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

3.2  audio_policy_configuration.xml any configuration changes are required?

       some configuration added in this but its not working as we expected.

I attached the logs for audio played through music player and alarm apps with different sample rates.

 Thanks,

supraja

0 Kudos
Reply
1 Reply

347 Views
Rita_Wang
NXP TechSupport
NXP TechSupport

Could you tell us which platform and which version BSP are you using?

0 Kudos
Reply