mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
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:
parent
c680e324bc
commit
531b9ba951
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue