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

mgallien gallien.matthieu at gmail.com
Thu Jan 10 22:32:30 CET 2019


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




More information about the vlc-devel mailing list