nAvgBytesPerSec 意思是每秒多少字节,你的每个sample位深(精度/bitpersample)是16bit,就是2字节,nSamplesPerSec一秒44100个sample(44100采样率,HZ),所以nAvgBytesPerSec 应该是88200
nSamplesPerSec:采样率
转载于:https://www.cnblogs.com/8335IT/p/8527576.html
本文解析了音频文件中nAvgBytesPerSec参数的意义,解释了它如何根据位深(bitpersample)和采样率(nSamplesPerSec)计算得出。通过一个具体例子说明了16位精度下每秒字节数的具体计算方法。
nAvgBytesPerSec 意思是每秒多少字节,你的每个sample位深(精度/bitpersample)是16bit,就是2字节,nSamplesPerSec一秒44100个sample(44100采样率,HZ),所以nAvgBytesPerSec 应该是88200
nSamplesPerSec:采样率
转载于:https://www.cnblogs.com/8335IT/p/8527576.html
2350

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