摘要: 在录音的过程中发现在最前面的1s中总是会有“噗”的一声的噪音。一直在跟踪查找,发现是Android源码中有一处溢出造成的。stagefright中的AudioSource的void rampVolume(int32_t startFrame, int32_t rampDurationFrames,uint8_t *data, size_t bytes);函数(raise the volume from mute to theactual level linearly)。在AudioSource的read()函数将从AudioRecord读入的数据经过计算 int32_t autoRampD.. 阅读全文
posted @ 2013-03-03 10:22 cerberspace 阅读(490) 评论(0) 推荐(0) 编辑