[vlc-devel] [vlc-commits] MMDevice: only WASAPI lacks S/PDIF support so far (refs #6827)

Jean-Baptiste Kempf jb at videolan.org
Thu Feb 20 18:25:25 CET 2014


On 20 Feb, Rémi Denis-Courmont wrote :
> Le jeudi 20 février 2014, 18:04:25 Jean-Baptiste Kempf a écrit :
> > Le 20/02/2014 18:02, Rémi Denis-Courmont a écrit :
> > > Le jeudi 20 février 2014, 17:17:39 Jean-Baptiste Kempf a écrit :
> > >> On another machine, the A/V sync was completly off but seemed to not
> > >> crash.
> > > 
> > > It is possible that DirectSound sync is broken in 2.2, but then you are
> > > screwed either way with or without MMDevice.
> > 
> > Nope, with DirectSound the sync was fine.
> 
> If you modified your build to use WASAPI, then obviously there is no sync since 

Not my build, this is the main Win32 nightly build.

> you disabled the code some time ago.

Did I?
I did one commit on wasapi.c that is LGPL, and one on fix compilation.
I did 3 commits on mmdevice.c and none of them touch the Win32 code,
just the WinRT one.

> Otherwise the sync is the *same* function 
> whether using DirectSound or MMDevice. Except for 
> IDirectSoundBuffer_GetCurrentPosition() failure or trivially inverted logic, 
> the result will be the same.

I will do longer testing then...

With my kindest regards,

-- 
Jean-Baptiste Kempf
http://www.jbkempf.com/ - +33 672 704 734
Sent from my Electronic Device



More information about the vlc-devel mailing list