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

Thomas Guillem thomas at gllm.fr
Fri Jan 11 10:18:45 CET 2019


On Fri, Jan 11, 2019, at 08:55, Rémi Denis-Courmont wrote:
> 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.

Replay gain mode should be available when listening to music. Generally such content don't provide pass-through. There are other options in libVLC that don't work with pass through. I don't get the difference between album or track, maybe we should propose an on-off setting from libVLC ?

> 
> 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 Gallienvlc-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é. 
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20190111/aed35957/attachment.html>


More information about the vlc-devel mailing list