-
Max Kellermann authored
Due to rounding errors, a slightly negative value can be passed to set_normalized_volume(), which will make the log10() call fail. Actually, volume 0 is already failing because log10(0) is illegal. So let's fix this by implementing two corner cases: <=0 and >=100. Closes #212
bede5646
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
AlsaMixerPlugin.cxx | Loading commit data... | |
HaikuMixerPlugin.cxx | ||
NullMixerPlugin.cxx | ||
OSXMixerPlugin.cxx | ||
OssMixerPlugin.cxx | ||
PulseMixerPlugin.cxx | ||
PulseMixerPlugin.hxx | ||
RoarMixerPlugin.cxx | ||
SoftwareMixerPlugin.cxx | ||
SoftwareMixerPlugin.hxx | ||
WinmmMixerPlugin.cxx | ||
volume_mapping.c | ||
volume_mapping.h |