setInitialAllocationCount

open fun setInitialAllocationCount(initialAllocationCount: Int): AllocatorConfig.Builder

Sets the number of allocations to create up front.

Return

the builder instance

Parameters

initialAllocationCount

the initial allocation count

See also

androidx.media3.exoplayer.upstream.DefaultAllocator