audio/audio-buffer: @buffer in audio_buffer_map is out caller-allocates

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/1005>
This commit is contained in:
Marijn Suijten 2021-01-14 10:09:40 +01:00 committed by GStreamer Merge Bot
parent c70d263e48
commit fa8b5b9a6d

View file

@ -55,7 +55,7 @@ gst_audio_buffer_unmap (GstAudioBuffer * buffer)
/** /**
* gst_audio_buffer_map: * gst_audio_buffer_map:
* @buffer: pointer to a #GstAudioBuffer * @buffer: (out caller-allocates): pointer to a #GstAudioBuffer
* @info: the audio properties of the buffer * @info: the audio properties of the buffer
* @gstbuffer: (transfer none): the #GstBuffer to be mapped * @gstbuffer: (transfer none): the #GstBuffer to be mapped
* @flags: the access mode for the memory * @flags: the access mode for the memory