- 31 May, 2020 5 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
This currently only supports f32, but support for more formats will be coming soon.
-
David Reid authored
* Initial work on infrastructure for spatialization, panning and pitch shifting. * Add ma_engine_sound_set_pitch() Spatialization and panning is not yet implemented, but pitch shifting should now be working. -
David Reid authored
-
- 30 May, 2020 7 commits
-
-
David Reid authored
* The engine will now auto-start by default. This can be changed in the config by setting `noAutoStart` to true. * Initial implementation of ma_engine_play_sound() which can be used for fire-and-forget playback of sounds. * Add ma_engine_sound_at_end() for querying whether or not a sound has reached the end. The at-end flag is set atomically and locklessly in the mixing thread. -
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
This change makes it so MA_AT_END is returned when a non-looping data source reaches the end. This is how the caller can know to do clean up or whatnot.
-
David Reid authored
-
- 29 May, 2020 6 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
Updated APIs: * ma_data_source_read_pcm_frames() * ma_data_source_seek_pcm_frames()
-
David Reid authored
-
David Reid authored
This commit also explicitly defines ma_data_source_read_pcm_frames() as supporting an output buffer of NULL in which case a forward seek should be performed.
-
David Reid authored
This will cause a forward seek to occur instead of a read when calling ma_decoder_read_pcm_frames() with the output buffer set to NULL.
-
- 28 May, 2020 3 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
- 27 May, 2020 6 commits
-
-
David Reid authored
* Add support for volume control to ma_mixer_mix_*(). * Add support for specifying an effect to apply before mixing. * Add optimized pipeline for memory mappable data sources. * Remove some unnecessary functions: - ma_mixer_mix_pcm_frames_ex() - ma_mixer_mix_callbacks() - ma_mixer_mix_decoder() - ma_mixer_mix_audio_buffer() - ma_mixer_mix_waveform() - ma_mixer_mix_noise() - ma_mixer_mix_rb_ex() -
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
- 25 May, 2020 2 commits
-
-
David Reid authored
-
David Reid authored
-
- 24 May, 2020 9 commits
-
-
David Reid 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
-
- 23 May, 2020 2 commits
-
-
David Reid authored
-
David Reid authored
The ma_audio_buffer object is used for storing raw audio data in memory and reading from it like any other data source. It supports flexible memory management, reading, seeking, memory mapping and looping. See documentation under "Audio Buffers" for a detailed description.
-