directsoundsrc: Fix compiler warning
authorRaimo Järvi <raimo.jarvi@gmail.com>
Wed, 17 Oct 2012 19:54:28 +0000 (22:54 +0300)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 17 Oct 2012 20:01:39 +0000 (21:01 +0100)
https://bugzilla.gnome.org/show_bug.cgi?id=673414

sys/directsound/gstdirectsoundsrc.c

index a372681..d7023fe 100644 (file)
@@ -107,7 +107,7 @@ static GstCaps *gst_directsound_src_getcaps (GstBaseSrc * bsrc,
     GstCaps * filter);
 
 static guint gst_directsound_src_read (GstAudioSrc * asrc,
-    gpointer data, guint length);
+    gpointer data, guint length, GstClockTime * timestamp);
 
 static void gst_directsound_src_dispose (GObject * object);
 
@@ -464,7 +464,8 @@ gst_directsound_src_unprepare (GstAudioSrc * asrc)
 /* 
 return number of readed bytes */
 static guint
-gst_directsound_src_read (GstAudioSrc * asrc, gpointer data, guint length)
+gst_directsound_src_read (GstAudioSrc * asrc, gpointer data, guint length,
+    GstClockTime * timestamp)
 {
   GstDirectSoundSrc *dsoundsrc;