mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 16:24:04 +02:00
9763fa626b
This adds support for having a sound fade in when it is started and fade out when it is stopped. This commit does not yet include support for fading out when the sound approaches the end - it only fades out when explicitly stopped with ma_sound_stop(). The fade time is set in milliseconds. This commit includes a new effect called ma_fader, but it currently only supports f32 formats. Support for other formats will be added in the future.
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.