Commit 17815020 authored by Evan Nemerson's avatar Evan Nemerson Committed by Edward Hervey

audio: add missing array and element-type annotations for binary data

parent fd911046
......@@ -435,7 +435,8 @@ gst_audio_format_get_info (GstAudioFormat format)
/**
* gst_audio_format_fill_silence:
* @info: a #GstAudioFormatInfo
* @dest: a destination to fill
* @dest: (array length=length) (element-type guint8): a destination
* to fill
* @length: the length to fill
*
* Fill @length bytes in @dest with silence samples for @info.
......
......@@ -182,8 +182,8 @@ typedef enum
/**
* GstAudioFormatUnpack:
* @info: a #GstAudioFormatInfo
* @dest: a destination array
* @data: pointer to the audio data
* @dest: (array) (element-type guint8): a destination array
* @data: (array) (element-type guint8): pointer to the audio data
* @length: the amount of samples to unpack.
*
* Unpacks @length samples from the given data of format @info.
......@@ -197,8 +197,9 @@ typedef void (*GstAudioFormatUnpack) (const GstAudioFormatInfo *info,
/**
* GstAudioFormatPack:
* @info: a #GstAudioFormatInfo
* @src: a source array
* @data: pointer to the destination data
* @src: (array) (element-type guint8): a source array
* @data: (array) (element-type guint8): pointer to the destination
* data
* @length: the amount of samples to pack.
*
* Packs @length samples from @src to the data array in format @info.
......
......@@ -128,10 +128,10 @@ gst_audio_iec61937_frame_size (const GstAudioRingBufferSpec * spec)
/**
* gst_audio_iec61937_payload:
* @src: a buffer containing the data to payload
* @src: (array length=src_n): a buffer containing the data to payload
* @src_n: size of @src in bytes
* @dst: the destination buffer to store the payloaded contents in. Should not
* overlap with @src
* @dst: (array length=dst_n): the destination buffer to store the
* payloaded contents in. Should not overlap with @src
* @dst_n: size of @dst in bytes
* @spec: the ringbufer spec for @src
*
......
......@@ -43,7 +43,7 @@ typedef struct _GstAudioRingBufferSpec GstAudioRingBufferSpec;
/**
* GstAudioRingBufferCallback:
* @rbuf: a #GstAudioRingBuffer
* @data: target to fill
* @data: (array length=len): target to fill
* @len: amount to fill
* @user_data: user data
*
......
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