mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-18 20:25:25 +00:00
audio: Change the remaining "samples" in the ::delay() vfunc docs to "frames"
https://bugzilla.gnome.org/show_bug.cgi?id=748289
This commit is contained in:
parent
508ae9c2fc
commit
9e480d11a2
2 changed files with 2 additions and 2 deletions
|
@ -88,7 +88,7 @@ struct _GstAudioSinkClass {
|
||||||
gboolean (*close) (GstAudioSink *sink);
|
gboolean (*close) (GstAudioSink *sink);
|
||||||
/* write samples to the device */
|
/* write samples to the device */
|
||||||
gint (*write) (GstAudioSink *sink, gpointer data, guint length);
|
gint (*write) (GstAudioSink *sink, gpointer data, guint length);
|
||||||
/* get number of samples queued in the device */
|
/* get number of frames queued in the device */
|
||||||
guint (*delay) (GstAudioSink *sink);
|
guint (*delay) (GstAudioSink *sink);
|
||||||
/* reset the audio device, unblock from a write */
|
/* reset the audio device, unblock from a write */
|
||||||
void (*reset) (GstAudioSink *sink);
|
void (*reset) (GstAudioSink *sink);
|
||||||
|
|
|
@ -87,7 +87,7 @@ struct _GstAudioSrcClass {
|
||||||
/* read samples from the device */
|
/* read samples from the device */
|
||||||
guint (*read) (GstAudioSrc *src, gpointer data, guint length,
|
guint (*read) (GstAudioSrc *src, gpointer data, guint length,
|
||||||
GstClockTime *timestamp);
|
GstClockTime *timestamp);
|
||||||
/* get number of samples queued in the device */
|
/* get number of frames queued in the device */
|
||||||
guint (*delay) (GstAudioSrc *src);
|
guint (*delay) (GstAudioSrc *src);
|
||||||
/* reset the audio device, unblock from a write */
|
/* reset the audio device, unblock from a write */
|
||||||
void (*reset) (GstAudioSrc *src);
|
void (*reset) (GstAudioSrc *src);
|
||||||
|
|
Loading…
Reference in a new issue