update for audio base src api change
authorWim Taymans <wim.taymans@collabora.co.uk>
Mon, 10 Sep 2012 09:32:25 +0000 (11:32 +0200)
committerWim Taymans <wim.taymans@collabora.co.uk>
Mon, 10 Sep 2012 09:32:25 +0000 (11:32 +0200)
ext/pulse/pulsesrc.c
sys/oss/gstosssrc.c
sys/oss4/oss4-source.c

index 41e79dc..2150628 100644 (file)
@@ -94,7 +94,7 @@ static gboolean gst_pulsesrc_prepare (GstAudioSrc * asrc,
 static gboolean gst_pulsesrc_unprepare (GstAudioSrc * asrc);
 
 static guint gst_pulsesrc_read (GstAudioSrc * asrc, gpointer data,
-    guint length);
+    guint length, GstClockTime * timestamp);
 static guint gst_pulsesrc_delay (GstAudioSrc * asrc);
 
 static void gst_pulsesrc_reset (GstAudioSrc * src);
@@ -990,7 +990,8 @@ gst_pulsesrc_unprepare (GstAudioSrc * asrc)
 }
 
 static guint
-gst_pulsesrc_read (GstAudioSrc * asrc, gpointer data, guint length)
+gst_pulsesrc_read (GstAudioSrc * asrc, gpointer data, guint length,
+    GstClockTime * timestamp)
 {
   GstPulseSrc *pulsesrc = GST_PULSESRC_CAST (asrc);
   size_t sum = 0;
index 923e147..4738c22 100644 (file)
@@ -95,7 +95,8 @@ static gboolean gst_oss_src_close (GstAudioSrc * asrc);
 static gboolean gst_oss_src_prepare (GstAudioSrc * asrc,
     GstAudioRingBufferSpec * spec);
 static gboolean gst_oss_src_unprepare (GstAudioSrc * asrc);
-static guint gst_oss_src_read (GstAudioSrc * asrc, gpointer data, guint length);
+static guint gst_oss_src_read (GstAudioSrc * asrc, gpointer data, guint length,
+    GstClockTime * timestamp);
 static guint gst_oss_src_delay (GstAudioSrc * asrc);
 static void gst_oss_src_reset (GstAudioSrc * asrc);
 
@@ -505,7 +506,8 @@ couldnt_reopen:
 }
 
 static guint
-gst_oss_src_read (GstAudioSrc * asrc, gpointer data, guint length)
+gst_oss_src_read (GstAudioSrc * asrc, gpointer data, guint length,
+    GstClockTime * timestamp)
 {
   return read (GST_OSS_SRC (asrc)->fd, data, length);
 }
index 606545f..c193616 100644 (file)
@@ -94,7 +94,7 @@ static gboolean gst_oss4_source_prepare (GstAudioSrc * asrc,
     GstAudioRingBufferSpec * spec);
 static gboolean gst_oss4_source_unprepare (GstAudioSrc * asrc);
 static guint gst_oss4_source_read (GstAudioSrc * asrc, gpointer data,
-    guint length);
+    guint length, GstClockTime * timestamp);
 static guint gst_oss4_source_delay (GstAudioSrc * asrc);
 static void gst_oss4_source_reset (GstAudioSrc * asrc);
 
@@ -485,7 +485,8 @@ couldnt_reopen:
 }
 
 static guint
-gst_oss4_source_read (GstAudioSrc * asrc, gpointer data, guint length)
+gst_oss4_source_read (GstAudioSrc * asrc, gpointer data, guint length,
+    GstClockTime * timestamp)
 {
   GstOss4Source *oss;
   int n;