[vlc-devel] [PATCH 4/5] wasapi: add 24bits support

Thomas Guillem thomas at gllm.fr
Mon Oct 28 09:25:02 CET 2019

On Fri, Oct 25, 2019, at 18:15, Rémi Denis-Courmont wrote:
> Le perjantaina 25. lokakuuta 2019, 15.45.16 EEST Alexandre Janniaux a écrit :
> > Hi,
> > 
> > To be honest, when the main answer is "it was decided
> > decades ago", I do feel it's a great secret wisdom.
> That's not what I wrote, and that just means it's obvious enough that there's 
> no point reopening the topic.
> > Thomas's patch seems to make sense though, as a lot of
> > audio softwares are implementing it. There are also
> > probably some different use cases for exclusive mode when
> > using VLC in a different use case than the home multimedia
> > player.
> I don't see how the patchset is useful. I've seen requests for PCM pass-
> through, which sort-of makes sense with a digital output, but that's not at 
> all what this patchset does.
> PCM pass-through means that you set exclusive mode and force the DAC format to 
> match the sample rate, channel map of the decoded input, and pick the wire 
> sample format, practically signed 16-bits. This patch does almost the exact 
> opposite: negotiate the rate, map and bit depth.

My patch is good step toward this direction.
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.
The main problem is that VLC can insert audio-filter like time stretch that could alterate the audio/format.

> -- 
> Реми Дёни-Курмон
> http://www.remlab.net/
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel

More information about the vlc-devel mailing list