- 25 Aug, 2020 2 commits
-
-
David Reid authored
-
David Reid authored
-
- 24 Aug, 2020 2 commits
-
-
David Reid authored
-
David Reid authored
-
- 23 Aug, 2020 9 commits
-
-
David Reid authored
This is useful for enabling or disabling fading around loop transitions.
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
With this commit, you can now pass in a notification object which is fired when an asynchronous sound has finished loading.
-
David Reid authored
Previously you could set the group to NULL in which case the master group would be used, but this has now changed and the group parameter can never be NULL. Use ma_engine_get_master_sound_group() to retrieve the master sound group.
-
David Reid authored
-
David Reid authored
* ma_engine_sound_*() renamed to ma_sound_*(). * ma_engine_sound_group_*() renamed to ma_sound_group_*().
-
David Reid authored
-
- 22 Aug, 2020 2 commits
-
-
David Reid authored
* 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.
-
David Reid authored
-
- 19 Aug, 2020 1 commit
-
-
David Reid authored
-
- 17 Aug, 2020 2 commits
-
-
David Reid authored
-
David Reid authored
Fix logic that controls whether dr_wav is included
-
- 16 Aug, 2020 9 commits
-
-
Pedro K Custodio authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
- 15 Aug, 2020 3 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
- 14 Aug, 2020 4 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
Fading is now set using these APIs: * ma_engine_sound_set_fade_in() * ma_engine_sound_set_fade_out() When a sound is stopped, either by naturally reaching the end, or explicitly with ma_engine_sound_stop(), the fade out will be applied. Fading will also be applied around loop transitions. Note that when a sound is stopped implicitly by it reaching the end, fading out will not work when the length of the sound is not know (that is, when ma_data_source_get_length_in_pcm_frames() returns 0).
-
David Reid authored
-
- 09 Aug, 2020 6 commits
-
-
David Reid authored
* ma_data_source_get_cursor_in_pcm_frames() * ma_data_source_get_length_in_pcm_frames() When the data source has no notion of a cursor or length, these return MA_NOT_IMPLEMENTED to let the caller know about it. This is returned when a custom data source leaves these functions unimplemented. ma_decoder, ma_audio_buffer, ma_waveform and ma_noise have all been updated to support these new functions.
-
David Reid authored
-
David Reid authored
This function is used for retrieving the sample format, channel count and sample rate of the sound.
-
David Reid authored
As of this commit, ma_engine_sound_set_fade_out() is not fully implemented pending the writing of some additional infrastructure.
-
David Reid authored
This is useful for having a separate fade in and fade out for a sound which is what we require for the ma_engine API.
-
David Reid authored
-