<!doctype html><html><head><title></title><style type="text/css">p.MsoNormal,p.MsoNoSpacing{margin:0}</style></head><body>Hi,<br><br>Based on the forum requests, I think people want bit exact on Windows, not exclusive mode on Thomas Guillem's hardware.<br><br>Bit exact means no filters, no resampling, no remixing, and no format conversion, except maybe exact up-conversion. It does not, as such, mean to get audio out with WASAPI exclusive mode.<br><br>And it makes no sense to duplicate encoder functionality.<br><br><div class="gmail_quote">Le 28 octobre 2019 11:20:40 GMT+02:00, Thomas Guillem <thomas@gllm.fr> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div><br></div><div>On Mon, Oct 28, 2019, at 10:01, Rémi Denis-Courmont wrote:<br></div><blockquote type="cite" id="qt"><div>Hi,<br></div><div><br></div><div>Patch 4 is triplicating in one aout what belongs in OS HAL and VLC encoders. Are you going to write an MPEG Audio encoder in WASAPI just because some devices only accept that, also?<br></div></blockquote><div><br></div><div>If users are asking for it, yes, but it won't be top priority at all (unless there is huge use case suddenly).<br></div><div><br></div><div>I added 24bit support because the first sound card I tested for the wasapi exclusive work was only accepting 24bit.<br></div><div><br></div><blockquote type="cite" id="qt"><div><br></div><div>Patch 5 is doing the opposite of what people want to use exclusive mode for: implicitly add VLC conversion filters instead of disabling them.<br></div></blockquote><div><br></div><div>OK. Maybe, the "wasapi-exclusive" option should be a  global option (can be handled by Windows and Mac, don't know for pulse). That way, we can disable all audio filtering if enabled.<br></div><div><br></div><div>Then, let's say the input is 16bit and the soundcard is 24bit. What should we done in that case ? I assumed that it would be always OK to convert up to 24bit. Maybe we can add an option to this "exclusive" mode to prevent any conversion.</div><div><br></div><blockquote type="cite" id="qt"><div><br></div><div>I don't think either of them is a step in the right direction.<br></div><div><br></div><div class="qt-gmail_quote"><div>Le 28 octobre 2019 10:25:02 GMT+02:00, Thomas Guillem <thomas@gllm.fr> 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="qt-gmail_quote"><pre class="qt-k9mail"><div><br></div><div>On Fri, Oct 25, 2019, at 18:15, Rémi Denis-Courmont wrote:<br></div><blockquote style="margin-top:0pt;margin-right:0pt;margin-bottom:1ex;margin-left:0.8ex;border-left-color:rgb(114, 159, 207);border-left-style:solid;border-left-width:1px;padding-left:1ex;" class="qt-gmail_quote"><div>Le perjantaina 25. lokakuuta 2019, 15.45.16 EEST Alexandre Janniaux a écrit :<br></div><blockquote style="margin-top:0pt;margin-right:0pt;margin-bottom:1ex;margin-left:0.8ex;border-left-color:rgb(173, 127, 168);border-left-style:solid;border-left-width:1px;padding-left:1ex;" class="qt-gmail_quote"><div>Hi,<br></div><div><br></div><div>To be honest, when the main answer is "it was decided<br></div><div>decades ago", I do feel it's a great secret wisdom.<br></div></blockquote><div>That's not what I wrote, and that just means it's obvious enough that there's <br></div><div>no point reopening the topic.<br></div><div><br></div><blockquote style="margin-top:0pt;margin-right:0pt;margin-bottom:1ex;margin-left:0.8ex;border-left-color:rgb(173, 127, 168);border-left-style:solid;border-left-width:1px;padding-left:1ex;" class="qt-gmail_quote"><div>Thomas's patch seems to make sense though, as a lot of<br></div><div>audio softwares are implementing it. There are also<br></div><div>probably some different use cases for exclusive mode when<br></div><div>using VLC in a different use case than the home multimedia<br></div><div>player.<br></div></blockquote><div>I don't see how the patchset is useful. I've seen requests for PCM pass-<br></div><div>through, which sort-of makes sense with a digital output, but that's not at <br></div><div>all what this patchset does.<br></div><div><br></div><div>PCM pass-through means that you set exclusive mode and force the DAC format to <br></div><div>match the sample rate, channel map of the decoded input, and pick the wire <br></div><div>sample format, practically signed 16-bits. This patch does almost the exact <br></div><div>opposite: negotiate the rate, map and bit depth.<br></div></blockquote><div><br></div><div>My patch is good step toward this direction.<br></div><div>It will first try the input format, but fallback to other possible compatible format. We can use a 3 value options: disabled, FORCED, ON if format compatible.<br></div><div>The main problem is that VLC can insert audio-filter like time stretch that could alterate the audio/format.<br></div><div><br></div><div>> <br></div><blockquote style="margin-top:0pt;margin-right:0pt;margin-bottom:1ex;margin-left:0.8ex;border-left-color:rgb(114, 159, 207);border-left-style:solid;border-left-width:1px;padding-left:1ex;" class="qt-gmail_quote"><div>-- <br></div><div>Реми Дёни-Курмон<br></div><div><a href="http://www.remlab.net/">http://www.remlab.net/</a><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></blockquote><div><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></blockquote></div><br>-- <br>Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.</body></html>