Issue type
Bug report
Description
When calling GetVolume with the useDecibel option, it returns 0 (correctly) when the OBS slider is at the top, at 0db. But it also returns 0 (incorrectly) when the slider is all the way at the bottom and reaches "inf" (i.e. after -99db).
Would recommend having inf = -100 just for the sake of consistency when increasing/decreasing the volume. To elaborate, for every value other than this one, doing a +10 or a -10 will correctly increase the decibel accordingly. As such, would recommend to have inf equal -100 for sake of consistency.
Steps to reproduce and other useful info
Move Audio Slider in OBS to bottom and call GetVolume on that source.
Technical information
- Operating System : Windows 10 64-bit
- OBS Studio version : 25.0.8 64-bit
- OBS Websocket version : 4.8
Issue type
Bug report
Description
When calling GetVolume with the useDecibel option, it returns 0 (correctly) when the OBS slider is at the top, at 0db. But it also returns 0 (incorrectly) when the slider is all the way at the bottom and reaches "inf" (i.e. after -99db).
Would recommend having
inf = -100just for the sake of consistency when increasing/decreasing the volume. To elaborate, for every value other than this one, doing a +10 or a -10 will correctly increase the decibel accordingly. As such, would recommend to have inf equal -100 for sake of consistency.Steps to reproduce and other useful info
Move Audio Slider in OBS to bottom and call GetVolume on that source.
Technical information