[vlc-devel] [PATCH] MMDevice: fix crackling and libsync...

Rafaël Carré funman at videolan.org
Mon Dec 2 22:17:17 CET 2013


Hi,

Le 28/11/2013 11:55, Jean-Baptiste Kempf a écrit :
> ... by NULLifying the TimeGet function.
> 
> See:
> http://social.msdn.microsoft.com/Forums/windowsdesktop/en-US/55987ac9-69b5-46e5-9615-141fba07ac9e/the-pu64position-obtained-using-getposition-in-iaudioclock-sometimes-doesnt-correlate-with-time
> ---
>  modules/audio_output/mmdevice.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/modules/audio_output/mmdevice.c b/modules/audio_output/mmdevice.c
> index aee2615..3e0fdbc 100644
> --- a/modules/audio_output/mmdevice.c
> +++ b/modules/audio_output/mmdevice.c
> @@ -787,7 +787,7 @@ static int Open(vlc_object_t *obj)
>  
>      aout->start = Start;
>      aout->stop = Stop;
> -    aout->time_get = TimeGet;
> +    aout->time_get = NULL; // FIXME TimeGet;

If that function is buggy remove it completely.

>      aout->play = Play;
>      aout->pause = Pause;
>      aout->flush = Flush;
> 




More information about the vlc-devel mailing list