mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
update for audio base src api change
This commit is contained in:
parent
6dc7b4c3c7
commit
497ff16355
3 changed files with 10 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue