<html><head></head><body>Hi,<br><br>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.<br><br><div class="gmail_quote">Le 10 janvier 2019 23:32:30 GMT+02:00, mgallien <gallien.matthieu@gmail.com> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">Hello,<br><br>I am Matthieu Gallien and I am working on the Elisa music player as part of <br>the KDE project.<br><br>I am now using libvlc (when found with a fallback to QtMultimedia module) to <br>play music. This has been really a pleasant work to integrate libvlc.<br><br>I am adding support for replay gain through libvlc. I would like to be able to <br>modify the "audio-replay-gain-mode" setting to allow users to choose between <br>the different replay gain modes.<br><br>I tried looking at the different API available in libvlc and failed to found <br>one to do that (except calling libvlc_new with different arguments).<br><br>Is there already something that allows that ?<br><br>I have looked at the code in modules/gui/qt/components/simple_preferences.cpp <br>that declare the replay gain settings and the code in modules/gui/qt/<br>components/preferences_widgets.cpp to apply the modified settings.<br><br>If it is not currently possible to modify this setting through libvlc, what is <br>the best approach to do it ?<br><br>Should I write a specific module that would allow my code to modify the setting <br>or add support for that in libvlc API ?<br><br>Thanks in advance for your help<br><br>Best regards<br><br>--<br>Matthieu Gallien<hr>vlc-devel mailing list<br>To unsubscribe or modify your subscription options:<br><a href="https://mailman.videolan.org/listinfo/vlc-devel">https://mailman.videolan.org/listinfo/vlc-devel</a></pre></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>