- 09 Feb, 2020 5 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
These used to represent the size of the entire buffer, with the latency defined by the the size of this buffer, divided by the period count. This ended up being confusing because people assumed the buffer size by itself was enough to define the latency. With this commit, these config variables have been replaced with ones that take the size of a period rather than the size of the entire buffer. These are called periodSizeInFrames and periodSizeInMilliseconds. With this change, the latency is determined by these settings alone, without needing to take the period count into account. This should make things much easier to understand. This commit removes MA_BASE_BUFFER_SIZE_IN_MILLISECONDS_LOW_LATENCY and MA_BASE_BUFFER_SIZE_IN_MILLISECONDS_CONSERVATIVE. This commit removes ma_get_default_buffer_size_in_milliseconds() and ma_get_default_buffer_size_in_frames().
-
David Reid authored
-
David Reid authored
-
- 08 Feb, 2020 6 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
* ma_context_uninit() * ma_context_enumerate_devices() * ma_context_get_devices() * ma_context_get_device_info() * ma_context_is_loopback_supported()
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
- 06 Feb, 2020 1 commit
-
-
David Reid authored
-
- 05 Feb, 2020 2 commits
-
-
David Reid authored
Public issue https://github.com/dr-soft/miniaudio/issues/131
-
David Reid authored
-
- 04 Feb, 2020 1 commit
-
-
David Reid authored
This has the input and output formats the wrong way around.
-
- 03 Feb, 2020 4 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
- 02 Feb, 2020 21 commits
-
-
David Reid authored
-
David Reid authored
This commit changes the following APIs to add an additional parameter called pAllocationCallbacks. This is a pointer to a ma_allocation_callbacks structure which is used to perform the actual allocation/free. Allocation callbacks can be set in ma_context_config for contexts and ma_decoder_config for decoders. If it's left unset it will use MA_MALLOC(), MA_REALLOC() and MA_FREE().
-
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
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
With this change, the ma_device_id union should now be a consistent size across all platforms. This is important if cross-platform programs want to save the device ID and need the size to be consistent.
-
David Reid authored
The following APIs are removed: * ma_sine_wave_read_f32() * ma_sine_wave_read_f32_ex() Use ma_sine_wave_read_pcm_frames() as a replacement. This allows you to generate sine wave samples in any format, controlled by a parameter.
-
David Reid authored
-
David Reid authored
This make it a bit more explicit that it is only converting sample formats rather than the entire suite of format/channels/rate.
-
David Reid authored
Use the following APIs as alternatives: * ma_pcm_*_to_*() * ma_pcm_convert() * ma_convert_pcm_frames()
-
David Reid authored
This has been replaced with ma_channel_converter.
-
David Reid authored
Resampling is now done through the ma_resampler API. Note that with this commit the old sinc resampler has been removed because it never worked properly and is going to replaced with a better solution in the future. If you were using ma_src_algorithm_sinc you should consider using ma_src_algorithm_linear with the linear.lpfCount config variable set to MA_MAX_RESAMPLER_LPF_FILTERS.
-