AudioEncoder.getAllocator

Lets #GstAudioEncoder sub-classes to know the memory allocator used by the base class and its params.

Unref the allocator after use it.

Parameters

allocator gst.allocator.Allocator

the #GstAllocator used

params gst.allocation_params.AllocationParams

the #GstAllocationParams of allocator