Quote:
Originally Posted by audiofeel
Everything is OK, it's working. I may have one more question? Not very smooth volume control, in fact, it disappears already on half of the trackbar.
|
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.