ICEpower porting (二)N

打patch

三个patch文件路径

device/asus/msm8937
framework/av
hardware/qcom/audio

  • device目录
    • 加入lib 和 apk
    • 把lib里面的so文件push到手机里
>device/asus/msm8937/ICEpower/lib/libicepower.so:system/lib/soundfx/libicepower.so \
device/asus/msm8937/ICEpower/lib/icesoundconfig.def:system/etc/icesoundconfig.def \
device/asus/msm8937/ICEpower/lib/icesoundpresets.def:system/etc/icesoundpresets.def
  • framework
    • 主要是audioflinger.cpp修改
  • hardware

    • 修改config/msm8937/audio_effects.conf

      +icepower {
      path /system/lib/soundfx/libicepower.so
      }
      icepower_algo {
      library icepower
      uuid f1c02420-777f-11e3-981f-0800200c9a66
      }

  • audio_policy.conf
    修改 deepbuffer 到第二个位置

  • audio_policy_configuration.xml
    修改

验证

  • 安装 example 和 service app
  • push testMP3

push

  • sudo repo start --all qcom/8937/a70/bsp-scorpio
  • sudo repo forall -c 'pwd; git remote add caf-remote ssh://172.29.0.92/8937/$REPO_PROJECT'
  • git push caf-remote HEAD:refs/for/qcom/8937/a70/bsp-scorpio(branch)

repo start --all qcom/8937/a70/bsp-scorpio (branch)
repoS forall -c 'pwd; git remote add caf-remote ssh://172.29.0.92/8937/$REPO_PROJECT'
git push caf-remote HEAD:refs/for/qcom/8937/a70/bsp-scorpio(branch)

你可能感兴趣的:(ICEpower porting (二)N)