audio: The delay vfunc returns the number of frames, not samples

https://bugzilla.gnome.org/show_bug.cgi?id=748289
This commit is contained in:
Sebastian Dröge 2015-04-26 21:08:14 +02:00
parent c680e324bc
commit 531b9ba951
3 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -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.

View file

@ -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