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