BufferCache constructor

BufferCache({
  1. required Synthizer synthizer,
  2. required int maxSize,
  3. required Random random,
})

Create a cache.

Implementation

BufferCache({
  required this.synthizer,
  required this.maxSize,
  required this.random,
})  : _buffers = {},
      _files = [];