Commit b35bc51e authored by Olivier Crête's avatar Olivier Crête 👻

audio: Fix annotations

parent f9ac1f64
......@@ -34,7 +34,7 @@
/**
* gst_audio_buffer_clip:
* @buffer: The buffer to clip.
* @buffer: (transfer full): The buffer to clip.
* @segment: Segment in %GST_FORMAT_TIME or %GST_FORMAT_DEFAULT to which
* the buffer should be clipped.
* @rate: sample rate.
......@@ -46,7 +46,7 @@
* After calling this function the caller does not own a reference to
* @buffer anymore.
*
* Returns: %NULL if the buffer is completely outside the configured segment,
* Returns: (transfer full): %NULL if the buffer is completely outside the configured segment,
* otherwise the clipped buffer is returned.
*
* If the buffer has no timestamp, it is assumed to be inside the segment and
......
......@@ -282,7 +282,7 @@ gboolean gst_audio_decoder_negotiate (GstAudioDecoder * dec);
GstFlowReturn gst_audio_decoder_finish_frame (GstAudioDecoder * dec,
GstBuffer * buf, gint frames);
GstBuffer * gst_audio_decoder_allocate_output_buffer (GstAudioDecoder * decoder,
GstBuffer * gst_audio_decoder_allocate_output_buffer (GstAudioDecoder * dec,
gsize size);
/* context parameters */
......
......@@ -2589,7 +2589,7 @@ no_decide_allocation:
/**
* gst_audio_encoder_negotiate:
* @dec: a #GstAudioEncoder
* @enc: a #GstAudioEncoder
*
* Negotiate with downstreame elements to currently configured #GstCaps.
*
......
......@@ -228,7 +228,7 @@ gboolean gst_audio_encoder_set_output_format (GstAudioEncoder * enc,
gboolean gst_audio_encoder_negotiate (GstAudioEncoder * enc);
GstBuffer * gst_audio_encoder_allocate_output_buffer (GstAudioEncoder * encoder,
GstBuffer * gst_audio_encoder_allocate_output_buffer (GstAudioEncoder * enc,
gsize size);
/* context parameters */
......
......@@ -329,7 +329,7 @@ gst_audio_ring_buffer_convert (GstAudioRingBuffer * buf,
/**
* gst_audio_ring_buffer_set_callback:
* @buf: the #GstAudioRingBuffer to set the callback on
* @cb: the callback to set
* @cb: (scope async): the callback to set
* @user_data: user data passed to the callback
*
* Sets the given callback function on the buffer. This function
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment