录音功能。
详细参考官方文档:https://source.android.google.cn/devices/audio/debugging
踩坑记录:
1.系统无法启动
重新编译 libaudioflinger.so,push到系统中,报错无法启动。
需要更新system/bin/audioserver,编译最新的audioserver,push到系统中,启动成功。
2.无法录音
关于af.tee参数问题,af.tee=7时,录音正常。至于其他的值无法录音,没有继续深究。
echo af.tee=# > /data/local.prop
本文详细介绍了在Android系统中遇到的录音功能问题及解决方案。包括系统无法启动时,需要更新libaudioflinger.so和audioserver;以及af.tee参数设置为7才能正常录音的经验分享。
2206

被折叠的 条评论
为什么被折叠?



