- 09 Aug, 2020 7 commits
-
-
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
-
David Reid authored
-
David Reid authored
-
- 08 Aug, 2020 8 commits
-
-
David Reid authored
-
David Reid authored
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.
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
The ma_async_notification object is used for notifying the application that an asynchronous operation has completed. Custom notifications can be implemented by implementing the callback in ma_async_notification_callbacks. There is currently only a single callback called onSignal which is fired when the operation completes. A helper notification which wraps around an ma_event object called ma_async_notification_event is implemented which you can use as an example for building your own notifications.
-
David Reid authored
-
David Reid authored
* ma_audio_buffer_get_available_frames() * ma_decoder_get_available_frames()
-
- 03 Aug, 2020 3 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
- 02 Aug, 2020 7 commits
-
-
David Reid authored
* The data buffers and data streams are now first class data sources. * The ma_resource_manager_data_source object is now just a simple wrapper around ma_resource_manager_data_buffer and ma_resource_manager_data_stream. * Unnecessary pResourceManager parameters have been removed. * The part of the data buffer that's added to the BST has been split out from the main data buffer object so that the main object can be owned by the caller. * Add ma_resource_manager_data_source_get_available_frames() which is used to retrieve the number of frames that can be read at the time of calling. This is useful in asynchronous scenarios. -
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
- 01 Aug, 2020 6 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
* A crash when the pFramesRead parameter is null * Looping not working due to MA_AT_END now being returned. Public issue https://github.com/dr-soft/miniaudio/issues/185
-
David Reid authored
Public issue https://github.com/dr-soft/miniaudio/issues/184
-
David Reid authored
-
- 30 Jul, 2020 1 commit
-
-
David Reid authored
-
- 29 Jul, 2020 4 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
This should fix the case where multiple context's are initialized and uninitialized at the same time across multiple threads.
-
David Reid authored
Public issues: * https://github.com/dr-soft/miniaudio/issues/163 * https://github.com/dr-soft/miniaudio/issues/183
-
- 27 Jul, 2020 1 commit
-
-
David Reid authored
-
- 26 Jul, 2020 1 commit
-
-
David Reid authored
-
- 25 Jul, 2020 2 commits
-
-
David Reid authored
-
David Reid authored
-