[vlc-devel] [PATCH 3/6] win32: add audio events for updating audio button/slider

Daniel Amm da2424 at t-online.de
Tue Dec 15 22:42:36 CET 2015


> On 15 Dec, Daniel Amm wrote :
>  +    VP()->get_mp().eventManager().onAudioVolume([this](float vol) {
> > +        UpdateVolumeSlider(vol * 100 + 0.5); //+0.5 to prevent rounding
imprecisions
>
> Absolutely NO NO NO.

You mean the rounding imprecisions? How should it handled instead?



More information about the vlc-devel mailing list