mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
1f89b003c5
* Removed ma_engine_sound_set_fade_in/out() * Add ma_engine_sound_set_fade_point_in_frames() * Add ma_engine_sound_set_fade_point_in_milliseconds() * Add ma_engine_sound_set_stop_delay() * Add ma_engine_sound_get_time_in_frames() * Removed ma_engine_sound_group_set_fade_in/out() * Add ma_engine_sound_group_set_fade_point_in_frames() * Add ma_engine_sound_group_set_fade_point_in_milliseconds() * Add ma_engine_sound_group_set_stop_delay() * Add ma_engine_sound_group_get_time_in_frames() The fade in/out system has been replaced with something more general and flexible which allows for up to two fade points to be configured per sound or group, with arbitrary time periods and volumes. This commit also includes the addition of a placeholder parameter for ma_engine_sound_init_from_file() which is used to notify the caller when an asynchronously loaded sound has finished loading.
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.