? alsa_delay.patch
? gstalsasink.c.delay_patch
Index: gstalsasink.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/ext/alsa/gstalsasink.c,v
retrieving revision 1.90
diff -u -p -r1.90 gstalsasink.c
--- gstalsasink.c	12 Feb 2008 20:09:07 -0000	1.90
+++ gstalsasink.c	13 Feb 2008 13:56:06 -0000
@@ -862,6 +862,11 @@ gst_alsasink_delay (GstAudioSink * asink
     delay = 0;
   }
 
+  if (delay < 0) {
+    GST_WARNING_OBJECT (alsa, "snd_pcm_delay delay %li", delay);
+    delay = 0;
+  }
+
   return delay;
 }
 
