setTrimOnReset

Sets whether memory is freed when the allocator is reset. Should be true unless the allocator will be re-used by multiple player instances.

Return

the builder instance

Parameters

trimOnReset

the trim on reset

See also

androidx.media3.exoplayer.upstream.DefaultAllocator