audio: Fix annotations

This commit is contained in:
Olivier Crête 2012-09-13 17:11:56 -04:00
parent f9ac1f643b
commit b35bc51ed6
5 changed files with 6 additions and 6 deletions

View file

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

View file

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

View file

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

View file

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

View file

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