- 27 Feb, 2024 2 commits
-
-
David Reid authored
Previously, processing a node would involve a temporary buffer allocated on the stack. Because this was fixed size, it would result in processing being sub-divided into chunks in order to avoid overflowing that buffer. This becomes an issue when a node needs to have a known processing size. An example might be some kind of effect that requires processing be in powers of two. With this commit, the `processingSizeInFrames` variable in `ma_node_graph_config` can be used to make it so processing always happens in fixed sized chunks. In this situations, it's recommended you always call `ma_node_graph_read_pcm_frames()` with a frame count of a multiple of `processingSizeInFrames`. The allocation strategy used here is not optimal and will be improved in future commits. It currently allocates a buffer per-node, but since the data contained within it is transient in nature, it should be possible to use a global fixed sized stack that supports allocating a variable amount of space within the stack buffer.
-
David Reid authored
-
- 25 Feb, 2024 1 commit
-
-
David Reid authored
-
- 08 Feb, 2024 2 commits
-
-
David Reid authored
-
David Reid authored
-
- 30 Jan, 2024 1 commit
-
-
Chris Genova authored
-
- 28 Jan, 2024 1 commit
-
-
David Reid authored
Public issue https://github.com/mackron/miniaudio/issues/810
-
- 23 Jan, 2024 1 commit
-
-
David Reid authored
-
- 22 Jan, 2024 1 commit
-
-
David Reid authored
Public issue https://github.com/mackron/miniaudio/issues/805
-
- 12 Jan, 2024 1 commit
-
-
David Reid authored
Public issue https://github.com/mackron/miniaudio/discussions/800
-
- 10 Jan, 2024 1 commit
-
-
David Reid authored
-
- 08 Jan, 2024 2 commits
-
-
David Reid authored
Public issue https://github.com/mackron/miniaudio/issues/779
-
David Reid authored
-
- 23 Dec, 2023 2 commits
-
-
David Reid authored
-
David Reid authored
Use the MA_PTHREAD_REALTTIME_THREAD_PRIORITY define.
-
- 17 Dec, 2023 1 commit
-
-
David Reid authored
This is useful because MA_ASSERT is only defined in the implementation section of miniaudio.h which can cause issues when people copy/paste the code and use it in a file that does not have visibility of the implementation. Note that there are still more references to implementation-defined macros, but these have been moved to the public section in the dev-0.12 branch so I'm not bothering to change those just yet. Public issue https://github.com/mackron/miniaudio/issues/787
-
- 13 Dec, 2023 1 commit
-
-
David Reid authored
-
- 10 Dec, 2023 1 commit
-
-
David Reid authored
-
- 08 Dec, 2023 1 commit
-
-
David Reid authored
Use `#define MA_AAUDIO_MIN_ANDROID_SDK_VERSION 26` if you need to support SDK version 26.
-
- 06 Dec, 2023 3 commits
-
-
xielock authored
-
David Reid authored
Define MA_AAUDIO_MIN_ANDROID_SDK_VERSION to specify the minimum required SDK version for enabling the AAudio backend.
-
David Reid authored
-
- 02 Dec, 2023 1 commit
-
-
David Reid authored
-
- 30 Nov, 2023 1 commit
-
-
David Reid authored
Public issue https://github.com/mackron/miniaudio/issues/781
-
- 29 Nov, 2023 4 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
Audio Worklets do not work with --closure=1 because the callback used with emscripten_create_wasm_audio_worklet_processor_async never gets fired which means miniaudio will never be able to escape from it's busy wait loop. Public issue https://github.com/mackron/miniaudio/issues/778
-
David Reid authored
-
- 28 Nov, 2023 2 commits
-
-
David Reid authored
-
David Reid authored
Public issue https://github.com/mackron/miniaudio/issues/779
-
- 15 Nov, 2023 4 commits
-
-
David Reid authored
-
David Reid authored
-
Michael Labbé authored
Unlocked notification fires on emscripten upon successful resume of audio context attached to a device. This occurs only once per device and it happens after the browser has received the input event necessary to begin playing audio on most webpages. This is due to autoplay rules. It is recommended to wait until this event is fired to start a 'main game loop' on the web.
-
David Reid authored
Public issue https://github.com/mackron/miniaudio/issues/773
-
- 10 Nov, 2023 1 commit
-
-
David Reid authored
-
- 09 Nov, 2023 1 commit
-
-
David Reid authored
Public issue https://github.com/mackron/miniaudio/issues/770
-
- 04 Nov, 2023 3 commits
-
-
David Reid authored
This also fixes a possible crash during initialization due to leaving a thread running after early termination of the initialization routine.
-
David Reid authored
-
David Reid authored
-
- 02 Nov, 2023 1 commit
-
-
cobyj33 authored
-