关于alaw转pcm的注意事项

alaw转pcm后size会扩大一倍,malloc时须要放大为maxInputBytes*2,不然用pcmbuffer进行encode后会致使faacEncClose(hFaac)段错误ide #include #include #include #include "stdint.h" #include //要在faac.h前定义,确保FAACAPI定义为空,不然可能被定义为# defin
相关文章
相关标签/搜索