Browse Source
Each resampler allocates an input buffer and an output buffer. Since we create ~100 audio stream objects (1 per `sfx_MISC` effect), the memory cost of these buffers adds up. Avoids creating a resampler when the audio sampler rate matches the output sample rate. This is mostly the case when the output sample rate is 22050.pull/5690/head
3 changed files with 9 additions and 3 deletions
Loading…
Reference in new issue