Package com.banuba.sdk.player
Interface IDirectBufferAllocator
- All Known Implementing Classes:
SimpleDirectBufferAllocator
public interface IDirectBufferAllocator
Buffer Allocator interface that can be used for memory reusing without new allocation.
-
Method Summary
-
Method Details
-
allocateBuffer
New buffer allocate.- Parameters:
minimumCapacity
- minimum buffer capacity.- Returns:
- allocated
ByteBuffer
.
-