[vlc-devel] [RFC PATCH 1/2] mmdevice: reflect the state of Sndvol slider

Rémi Denis-Courmont remi at remlab.net
Fri Apr 6 21:10:22 CEST 2018


Le perjantaina 6. huhtikuuta 2018, 12.56.13 EEST Thomas Guillem a écrit :
> FYI:
>  - PowerDVD and MS Movies are doing like this patch (linear relation between
> slider and ISimpleAudioVolume)
> - MPC-HW and Itunes are doing like current
> VLC (x³ relation between slider and ISimpleAudioVolume)

Cubic mapping is supposed to be good from the UI slider to the actual linear 
attenuation factor. We use it to replace the crappy old linear mapping.

Of course, if the mapping from ISimpleAudioVolume to actual attenuation is not 
linear, then by composition, cubic scale will not do what was intended, and 
will probably not be nice. If that is the case, then pristine 
ISimpleAudioVolume is probably better.

-- 
雷米‧德尼-库尔蒙
https://www.remlab.net/





More information about the vlc-devel mailing list