标签:
假如将播放器的控制音量切割成0-100的话,由于IDirectSoundBuffer::SetVolume(LONG lVolume)中参数的输入值是[-10000,0]
当然,也可以将音量控制分割成0--10000了,基本的公式就是这样的。
有篇文章可以参考参考:http://www.animations.physics.unsw.edu.au/jw/dB.htm#definition
转自:http://blog.csdn.net/sky04/article/details/7070418
(转) IDirectSoundBuffer::SetVolume的参数与音量分贝的函数关系
标签:
原文地址:http://www.cnblogs.com/lihaiping/p/5054304.html