Tool/software:
We have a Bluetooth hardware board which includes the TI audio chip TAS5731M, the board connected with mobile phone by Bluetooth A2DP connection. When the mobile phone is playing the music, mobile phone will send the music data to board through the Bluetooth A2DP connection, and the user controls the side key of mobile phone to adjust the volume level.
When is volume level is under mid level, it is hard to hear the sound, when it goes up to the mid level, the sound volume will increase dramatically. It will shock the customers, and the user experience is bad.
This issue only happened on Android phones, the iPhone is OK. As we know, the Android phone will combine the volume data with music data and send to the Bluetooth board, but iPhone will send not only the music data, but also the volume level data separately.
The volume performance of Android phone and iPhone just like below picture, we want to make the volume performance of Android phone as linear as iPhone.

When we try to set the DRC for making the volume more linear by the GUI tools, but the sound volume will be increased suddenly and dropped down automatically in the beginning of music playing. This kind of irregularity makes users shocked, which is unacceptable.
So, what is the best way to make the volume performance of Android phone as Linear as iPhone??? Is there any sample code we can refer to?
Thanks!