* be allocated.
*/
GstBuffer *
-gst_buffer_new_allocate (GstMemoryAllocator * allocator, gsize size,
+gst_buffer_new_allocate (const GstMemoryAllocator * allocator, gsize size,
gsize align)
{
GstBuffer *newbuf;
/* allocation */
GstBuffer * gst_buffer_new (void);
-GstBuffer * gst_buffer_new_allocate (GstMemoryAllocator * allocator, gsize maxsize, gsize align);
+GstBuffer * gst_buffer_new_allocate (const GstMemoryAllocator * allocator, gsize maxsize, gsize align);
/* memory blocks */
guint gst_buffer_n_memory (GstBuffer *buffer);