Quote:
Originally Posted by BLACKFIRE69
yes, volume control is neither gradual nor smooth. i agree.
the volume range is ( -10,000 to 0).
DSBVOLUME_MAX := 0;
DSBVOLUME_MIN := -10,000
For More Info
i don't know how to do smooth control tho.
what i'm doing is simply just set the value as below.
Code:
Vol := (InputVolPct - 100) * 100;
DirectSoundBuffer.SetVolume(Vol)
if anyone knows a better way let me know.
|
This makes changing the volume a little smoother.
I hope it helps you!