[vlc-devel] [PATCH] libvlc: return int for libvlc_MediaPlayerAudioVolume
Daniel Amm
da2424 at t-online.de
Tue Oct 4 19:56:53 CEST 2016
> Le maanantaina 3. lokakuuta 2016, 15.41.45 EEST Daniel Amm a écrit :
> > Since libvlc_audio_get_volume() returns an integer (0=mute,
100=nominal),
> > the associated event should also do that. So the API would be more
> > consistent.
>
> No, this breaks the ABI.
>
> Besides, float is a much better suited representation here.
Would it be a solution, if this change will not be done in libvlc, but
instead in libvlcpp?
The background:
I want to add this event to the javascript API of the webplugin. I think
it could cause confusion, if vlc.audio.volume and the event returns
different data formats.
More information about the vlc-devel
mailing list