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

Jean-Baptiste Kempf jb at videolan.org
Thu Nov 28 11:55:24 CET 2013


... 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;
     aout->play = Play;
     aout->pause = Pause;
     aout->flush = Flush;
-- 
1.8.4.2




More information about the vlc-devel mailing list