mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-23 16:54:03 +02:00
56e0e62497
This provides an optimization by allowing processing to bypass the resampler. Audio data needs to pass through the resampler even for the case where pitch=1 because it needs to update internal buffers which if it didn't do, would result in a glitch when moving away from 1. In practice most sounds won't require individual pitch control, however in the interest in being consistent with miniaudio's philosophy of things "Just Working", pitching is enabled by default. Pitching can be disabled with MA_SOUND_FLAG_DISABLE_PITCH in ma_sound_init_*() and ma_sound_group_init().
This folder contains code that I'm experimenting with outside of the main miniaudio library. It's just for my own research and experimenting which I'm putting into the repository for version control purposes and to get feedback from the community. You should not consider any of this code to be production quality.