-
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 |
|---|---|---|
| .. | ||
| plugins | ||
| Listener.hxx | ||
| MixerAll.cxx | ||
| MixerControl.cxx | ||
| MixerControl.hxx | ||
| MixerInternal.hxx | ||
| MixerList.hxx | ||
| MixerPlugin.hxx | ||
| MixerType.cxx | ||
| MixerType.hxx | ||
| Volume.cxx | ||
| Volume.hxx |