- 16 Feb, 2020 2 commits
-
-
David Reid authored
This has been renamed to ma_calculate_frame_count_after_resampling() for consistency with the new ma_resampler API.
-
David Reid authored
This previously returned the frame count based on the internal sample rate of the underlying stream, whereas it should have instead returned a frame count based on the output sample rate. This commit fixes this. This commit commit also changes the implementation of ma_calculate_frame_count_after_src() to use the ma_resampler API which should make it a bit more robust and easier to maintain.
-
- 15 Feb, 2020 3 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
- 14 Feb, 2020 4 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
- 13 Feb, 2020 5 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
Public issue https://github.com/dr-soft/miniaudio/issues/126
-
David Reid authored
This change makes a copy of the master volume factor before applying it so that if another thread changes the volume it won't apply the change part way through the processing of a period.
-
- 12 Feb, 2020 9 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
With this change the stop callback must be set via the device config.
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
- 11 Feb, 2020 1 commit
-
-
David Reid authored
-
- 10 Feb, 2020 7 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
This example is no longer useful as everything is explained in the documentation of ma_context_init() and ma_device_init().
-
David Reid authored
-
David Reid authored
-
- 09 Feb, 2020 8 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
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 1 commit
-
-
David Reid authored
-