Page 1 of 1

6.10 b8: SoundVolume: Wrap Volume as Float

Posted: Wed Mar 20, 2024 3:00 pm
by Jan125
Greetings.

In previous versions of PureBasic that used DirectSound, the available 0 to -10000 volume steps were wrapped to a LONG/INT of 100 to 0.
This created aliasing if you were using it unmodified for volume envelopes.

Since floating point performance for that should no longer be a consideration, and DirectSound is going to be replaced with miniaudio anyway, please consider wrapping the Volume parameter as a FLOAT, since that is what miniaudio is apparently using internally as well.

Re: 6.10 b8: SoundVolume: Wrap Volume as Float

Posted: Wed Mar 20, 2024 3:36 pm
by Quin
+1

Re: 6.10 b8: SoundVolume: Wrap Volume as Float

Posted: Wed Mar 20, 2024 8:24 pm
by Fred
Will do for next beta :)