mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-19 00:01:23 +00:00
audio: Extra documentation for gst_audio_ring_buffer_set_timestamp()
Clarify the documentation that gst_audio_ring_buffer_set_timestamp() expects timestamps sampled directly from the pipeline clock Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5657>
This commit is contained in:
parent
56e72889c1
commit
3304eae3e8
1 changed files with 7 additions and 1 deletions
|
@ -2181,7 +2181,13 @@ gst_audio_ring_buffer_set_channel_positions (GstAudioRingBuffer * buf,
|
|||
* @readseg: the current data segment
|
||||
* @timestamp: The new timestamp of the buffer.
|
||||
*
|
||||
* Set a new timestamp on the buffer.
|
||||
* Set a new timestamp on the buffer representing the time of the first sample
|
||||
* in the ringbuffer segment. The timestamp is used by the #GstAudioSrc base
|
||||
* class to set the timestamps on output buffers. Timestamps are
|
||||
* expected to be taken directly from the pipeline clock and are
|
||||
* actual clock timestamps. #GstAudioSrc will convert to running time
|
||||
* by subtracting the base time, but otherwise does not adjust the
|
||||
* outgoing timestamps if provided.
|
||||
*
|
||||
* MT safe.
|
||||
*/
|
||||
|
|
Loading…
Reference in a new issue