[vlc-devel] libvlc, modify replay gain setting and third party application

Rémi Denis-Courmont remi at remlab.net
Fri Jan 11 08:55:43 CET 2019


Hi,

There is no API for that, and adding one is not obviously such a good idea. There are a number of issues. For a start, VLC has always disabled the option by default, so there is no understanding of how well this works. Then having more choices than on & off makes little sense to most. And lastly, it won't work when pass-through is negotiated.

Le 10 janvier 2019 23:32:30 GMT+02:00, mgallien <gallien.matthieu at gmail.com> a écrit :
>Hello,
>
>I am Matthieu Gallien and I am working on the Elisa music player as
>part of 
>the KDE project.
>
>I am now using libvlc (when found with a fallback to QtMultimedia
>module) to 
>play music. This has been really a pleasant work to integrate libvlc.
>
>I am adding support for replay gain through libvlc. I would like to be
>able to 
>modify the "audio-replay-gain-mode" setting to allow users to choose
>between 
>the different replay gain modes.
>
>I tried looking at the different API available in libvlc and failed to
>found 
>one to do that (except calling libvlc_new with different arguments).
>
>Is there already something that allows that ?
>
>I have looked at the code in
>modules/gui/qt/components/simple_preferences.cpp 
>that declare the replay gain settings and the code in modules/gui/qt/
>components/preferences_widgets.cpp to apply the modified settings.
>
>If it is not currently possible to modify this setting through libvlc,
>what is 
>the best approach to do it ?
>
>Should I write a specific module that would allow my code to modify the
>setting 
>or add support for that in libvlc API ?
>
>Thanks in advance for your help
>
>Best regards
>
>--
>Matthieu Gallien
>
>
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190111/bfb61f15/attachment-0001.html>


More information about the vlc-devel mailing list