Hello,
Software Version: android_p11.0.0_2.6.0
Board: i.MX8MQ based custom board
I need to port wm8960 to Android system.
In the Android system, I can play audio files normally with tinyplay:
#tinyplay tinghai-zhanghuimei.wav
I can also record files normally using tinycap:
#tinycap /data/rec.wav -D 0 -d 0 –c 2 –r 48000 –b 16 –p 1024 –n 3 -T 10
When I integrated wm8960 into Android, I modified the following files:
vi device/nxp/imx8m/evk_8mq/evk_8mq.mk

The contents of the wm8960_rpmsg_config.json as follows:

The current situation is:
When I set the Android volume: settings->sound->medium Volume, I can hear the prompt tone of the system, but the set volume keeps beating. It appears that the volume setting failed, And I can't play music through kugou music APK.
According to the instructions of 8.2.2 supporting a new sound card in the document < Android_User's_Guide.pdf-Rev. android-11.0.0_2.6.0 — 7 January 2022>, in addition to adding wm8960_rpmsg_config.json file, and audio needs to be modified audio_policy_configuration.xml file.
My question:
1 How to modify audio_policy_configuration.xml for WM8960 in android 11.0.0