Check if Qcom speaker playback algorithms is removed for opalum speaker tuning

来源:互联网 发布:yy动态头像源码 编辑:程序博客网 时间:2024/06/05 07:43

Steps:

1, Remove CONFIG_SND_SOC_OPALUM=y in configration file, then build new bootimage and flash to device;

2, remove mmi_effect from vendor/etc/audio_effects.conf and system/vendor/etc/audio_effects.conf, than push to device

3, adb shell,  cd sys/bus/platform/drivers/ospl2xx, if the ospl2xx is not existed that means we have remvoed CONFIG_SND_SOC_OPALUM;

4,push push 16bit-48khz-1khz-full-scale2.wav to sdcard

5, set the music volume as max, then play the wave file pushed in step 4.

6, Log the QXDM , the QCAT exact the log and get the vocoder packet, analysize the 0x1586, if it shows full scale, if yes, then Qcom speaker algorithms is removed for opalum tuning.