summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2015-04-26 19:08:14 (GMT)
committerSebastian Dröge <sebastian@centricular.com>2015-04-26 19:08:14 (GMT)
commit531b9ba951129a5452e40043d729960c7ce71cb4 (patch)
treec6ed43162804322a57f62bb1cd3d678753d887ca
parentc680e324bc5170396d21bae7d1752b36d289f323 (diff)
downloadgst-plugins-base-531b9ba951129a5452e40043d729960c7ce71cb4.tar.gz
gst-plugins-base-531b9ba951129a5452e40043d729960c7ce71cb4.tar.xz
audio: The delay vfunc returns the number of frames, not samples
https://bugzilla.gnome.org/show_bug.cgi?id=748289
-rw-r--r--gst-libs/gst/audio/gstaudioringbuffer.h2
-rw-r--r--gst-libs/gst/audio/gstaudiosink.h2
-rw-r--r--gst-libs/gst/audio/gstaudiosrc.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/gst-libs/gst/audio/gstaudioringbuffer.h b/gst-libs/gst/audio/gstaudioringbuffer.h
index 24fe350..b3c87c4 100644
--- a/gst-libs/gst/audio/gstaudioringbuffer.h
+++ b/gst-libs/gst/audio/gstaudioringbuffer.h
@@ -220,7 +220,7 @@ struct _GstAudioRingBuffer {
* @pause: pause processing of samples
* @resume: resume processing of samples after pause
* @stop: stop processing of samples
- * @delay: get number of samples queued in device
+ * @delay: get number of frames queued in device
* @activate: activate the thread that starts pulling and monitoring the
* consumed segments in the device.
* @commit: write samples into the ringbuffer
diff --git a/gst-libs/gst/audio/gstaudiosink.h b/gst-libs/gst/audio/gstaudiosink.h
index 9237fef..4fde56f 100644
--- a/gst-libs/gst/audio/gstaudiosink.h
+++ b/gst-libs/gst/audio/gstaudiosink.h
@@ -66,7 +66,7 @@ struct _GstAudioSink {
* @unprepare: Undo operations done in prepare.
* @close: Close the device.
* @write: Write data to the device.
- * @delay: Return how many samples are still in the device. This is used to
+ * @delay: Return how many frames are still in the device. This is used to
* drive the synchronisation.
* @reset: Returns as quickly as possible from a write and flush any pending
* samples from the device.
diff --git a/gst-libs/gst/audio/gstaudiosrc.h b/gst-libs/gst/audio/gstaudiosrc.h
index 040caa2..211ea0a 100644
--- a/gst-libs/gst/audio/gstaudiosrc.h
+++ b/gst-libs/gst/audio/gstaudiosrc.h
@@ -65,7 +65,7 @@ struct _GstAudioSrc {
* @unprepare: undo the configuration
* @close: close the device
* @read: read samples from the audio device
- * @delay: the number of samples queued in the device
+ * @delay: the number of frames queued in the device
* @reset: unblock a read to the device and reset.
*
* #GstAudioSrc class. Override the vmethod to implement