- 02 Jul, 2025 4 commits
-
-
David Reid authored
-
Sam Tupy authored
In ma_resource_manager_data_buffer_node_acquire_critical_section, a job which releases already acquired fences is either processed or posted based on MA_RESOURCE_MANAGER_DATA_SOURCE_FLAG_WAIT_INIT. However on job post or process failure, the fences were being unconditionally released. This commit moves the fence releases in acquire_critical_section down into a nested branch which only executes if MA_RESOURCE_MANAGER_DATA_SOURCE_FLAG_WAIT_INIT is not set, causing the fence release to take place only if the job failed to post while relying on the job itself to release the fences if it processes rather than causing a duplicate ma_fence_release and thus an eventual assertion failure.
-
David Reid authored
-
David Reid authored
-
- 09 Jun, 2025 1 commit
-
-
David Reid authored
This applies when MA_NO_NEON or MA_NO_SSE2 is set. Public issue https://github.com/mackron/miniaudio/issues/997
-
- 19 May, 2025 1 commit
-
-
Guillaume Prieur authored
-
- 11 May, 2025 1 commit
-
-
David Reid authored
-
- 08 May, 2025 8 commits
-
-
David Reid authored
-
caturria authored
-
caturria authored
Fix leaked OggVorbis_File handle when input is not vorbis. Also implements ma_libvorbis_get_length_in_pcm_frames() for the common case of an ogg file with a single bitstream.
-
David Reid authored
-
Keith authored
-
Keith authored
All Miniaudio static libraries now install their headers such that they can still use relative paths, but external code can #include "miniaudio/miniaudio.h" Also adds a CMake macro to simplify adding static libraries
-
David Reid authored
-
David Reid authored
-
- 30 Apr, 2025 3 commits
-
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
- 29 Apr, 2025 1 commit
-
-
David Reid authored
-
- 27 Apr, 2025 9 commits
-
-
David Reid authored
My understanding is that "pause" was introduced with the Pentium 4 and assembles to opcode F390 which is the same as "rep; nop". I believe this should be backwards compatible. Using "pause" here introduces an compilation error when targeting architectures older than Pentium 4.
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
This is untested.
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
David Reid authored
-
- 25 Apr, 2025 2 commits
-
-
David Reid authored
Public issue https://github.com/mackron/miniaudio/issues/980
-
David Reid authored
Public issue https://github.com/mackron/miniaudio/issues/980
-
- 19 Apr, 2025 5 commits
-
-
David Reid authored
MA_NO_PTHREAD_REALTIME_PRIORITY_FALLBACK can be used to disable this functionality for applications that have a hard requirement on a realtime thread.
-
Pavel Galkin authored
These were undefined when linking with the -static flag on: 1. Alpine Linux v3.21 x86_64 2. Debian GNU/Linux 12 (bookworm) aarch64 In both cases I had to manually compile alsa-lib as a static library because the systems have only .so versions. I did it with: cd path/to/alsa-libs ./gitcompile static <this will create alsa-libs/src/.libs/libasound.a> Tested with alsa-libs 1.12.2 and 1.12.3. It's possible to reproduce the errors like this: clang -static -DMA_NO_RUNTIME_LINKING -DMA_ENABLE_ONLY_SPECIFIC_BACKENDS -DMA_ENABLE_ALSA -DMA_DEBUG_OUTPUT -Wall -Wextra -g3 simple_playback_sine.c -o build/miniwave -fcolor-diagnostics -ferror-limit=2 -fuse-ld=lld -I../ -L/home/antharas/code/alsa-lib/src/.libs/ -lasound However, even though it compiles I can't verify that everything works. 1. Alpine has musl which doesn't support runtime linking when compiling with -static. So even though I disabled it for miniaudio.h, libasound.a itself uses dlopen on libasound_module_pcm_pipewire.so. 2. Debian uses glibc so it supports it but fails because my machine is a VPS that doesn't have a soundcard. No big deal, I don't really need to statically link, it was just something I stumbled upon. Also these are currently unused: _snd_pcm_hw_params_set_rate_minmax ma_timer_init ma_timer_get_time_in_seconds ma_device__on_notification_rerouted -
David Reid authored
-
Your Name authored
-
David Reid authored
Public issue https://github.com/mackron/miniaudio/issues/979
-
- 27 Mar, 2025 1 commit
-
-
David Reid authored
-
- 18 Mar, 2025 1 commit
-
-
caturria authored
-
- 09 Mar, 2025 2 commits
-
-
David Reid authored
-
David Reid authored
-
- 08 Mar, 2025 1 commit
-
-
David Reid authored
-