[vlc-devel] [PATCH] DirectSound: apply volume attenuation with DirectSound

Jean-Baptiste Kempf jb at videolan.org
Wed May 16 03:01:37 CEST 2012


On 06/05/2012 15:34, Rémi Denis-Courmont wrote:
> This should keep the volume latency under 20 ms. This will break
> amplification as DirectSound is only capable of attenuation.
>
> This patch compiles but is otherwise entirely untested.

For info, the attached patch is tested and somehow works (code very 
ugly), and is from the ticket #5654.

It seems the volume is "-7.5 dB lower than the default volume with the 
original DLL".

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device
ugly
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-DirectX-fix-lag.patch
Type: text/x-diff
Size: 3553 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120516/35d1fbbb/attachment.patch>


More information about the vlc-devel mailing list