David Reid
f9caab2fd5
Update readme.
...
The user can just look at the CMakeLists.txt file instead of having the
readme duplicate information.
2025-02-21 20:13:51 +10:00
David Reid
57fbc6dd36
WASAPI: Uninitialize a mutex in device uninitialization.
2025-02-21 10:30:22 +10:00
David Reid
ee3e532a54
Update fs.
2025-02-21 10:25:02 +10:00
David Reid
178797502e
Remove an unnecessary cast.
2025-02-21 08:48:05 +10:00
David Reid
0576191d7d
Fix a compilation error with the last commit.
2025-02-21 08:26:52 +10:00
David Reid
6bc3fec34e
Try fixing a const-correctness error.
2025-02-21 07:39:16 +10:00
David Reid
2542be5db8
Merge remote-tracking branch 'origin/dev' into dev
2025-02-20 17:46:38 +10:00
David Reid
67d1aca341
iOS: Try fixing an initialization error with capture devices.
...
Public issue https://github.com/mackron/miniaudio/issues/868
2025-02-20 17:43:40 +10:00
David Reid
5975db4c76
Update fs.
2025-02-20 12:10:26 +10:00
David Reid
08d6d1fac0
Fix a pedantic warning with Clang.
2025-02-20 12:04:16 +10:00
David Reid
4d971fe480
Update CMake script to detect Apple Clang.
2025-02-20 12:03:47 +10:00
David Reid
575790bb29
Update GitHub templates.
2025-02-19 18:43:15 +10:00
David Reid
e49ce7df95
Update readme.
2025-02-19 18:43:00 +10:00
David Reid
d672b9610f
Add a couple of Vorbis and Opus files for testing.
2025-02-19 18:10:47 +10:00
David Reid
3889066fac
Update CMake build script.
...
These changes make it easier to integrate vorbisfile and opusfile from
source.
2025-02-19 18:09:00 +10:00
David Reid
ff66923b9a
Fix a compilation warning.
2025-02-19 18:05:53 +10:00
David Reid
e3151f2df1
Silence an unreachable code warning with MSVC.
2025-02-19 12:32:12 +10:00
David Reid
abb81fe95c
Fix a warning in miniaudio_libvorbis.
2025-02-19 12:31:48 +10:00
David Reid
8ad250ccf6
Updates to custom decoders.
2025-02-19 12:02:37 +10:00
David Reid
b40803cf97
Update fs.
2025-02-19 12:01:22 +10:00
David Reid
466a1354ce
Experiment with a fix for older versions of Clang.
2025-02-19 10:30:09 +10:00
David Reid
e08c1303ef
Fix a bug with the deviceio test.
2025-02-19 09:43:51 +10:00
David Reid
698a4319f0
Update fs.
2025-02-19 09:43:19 +10:00
David Reid
eee86a0ae1
Fix the C++ build for some examples.
2025-02-19 08:28:01 +10:00
David Reid
d3a4b9cf20
Minor changes to CMakeLists.
2025-02-19 08:23:11 +10:00
David Reid
48ac10d1e1
Fix a C++ compilation error.
2025-02-18 18:41:10 +10:00
Edoardo Lolletti
4b4349af52
Fix miniaudio_libvorbis.h compilation as c++
2025-02-18 18:39:26 +10:00
David Reid
a4d462e39e
Add initial CMake file.
2025-02-18 17:53:44 +10:00
David Reid
ef662aaddf
Add a sound for testing.
2025-02-18 17:51:37 +10:00
David Reid
22a5c65c94
Update tests.
2025-02-18 17:46:57 +10:00
David Reid
cff683a1b1
Add a non-interactive mode for the deviceio test.
2025-02-18 17:30:59 +10:00
David Reid
62d64d14bd
Fix an error with band-pass filters.
2025-02-18 17:26:53 +10:00
David Reid
cf9371748a
Fix compilation warnings with some tests.
2025-02-17 18:15:22 +10:00
David Reid
640d70c307
Add deprecation notice to old libopus and libvorbis custom decoders.
2025-02-17 18:14:40 +10:00
David Reid
46788d59a8
Rework the libvorbis and libopus custom decoders.
...
These decoders have been moved into their own subfolders under the
extras/decoders folder:
extras/decoders/libvorbis
extras/decoders/libopus
In addition to being relocated, they have also been split into separate
.c/h pairs. They now work like a more conventional library. The
implementation of these libraries have also been decoupled from the
miniaudio implementation which means they depend only on the header
section of miniaudio.h now.
With this change the custom_decoder and custom_decoder_engine examples
have been updated. To compile these you now need to link in the
miniaudio_libvorbis.c and miniaudio_libopus.c files via your build
tool. For your own code, you can still include the .c files directly
into your code if you want to compile as a single translation unit.
2025-02-17 16:57:47 +10:00
David Reid
01d6297bec
Fix some warnings with some more examples.
2025-02-17 16:52:54 +10:00
David Reid
de5f370d09
Fix some warnings with examples.
2025-02-17 16:01:19 +10:00
David Reid
47aa3e34e0
Update gitignore.
2025-02-17 15:59:40 +10:00
David Reid
445cdcb82b
AAudio: Fix a possible compilation error on older SDKs.
2025-02-17 10:28:43 +10:00
David Reid
34092dbfc8
Fix an unused parameter warning.
2025-02-17 09:44:09 +10:00
David Reid
14b986448f
Minor change to ma_calculate_buffer_size_in_milliseconds_from_frames().
2025-02-17 09:36:50 +10:00
David Reid
a6ac898663
Minor adjustment to a calculation.
2025-02-17 09:30:40 +10:00
Andrew Opalach
017f8944d3
WASAPI: Release mapped buffer before stopping device
2025-02-17 09:24:59 +10:00
Andrew Opalach
e15fd218be
WASAPI: Fix drain on device stop
2025-02-17 09:24:59 +10:00
David Reid
4c7021e53d
WASAPI: Fix an error when stopping a device.
2025-02-16 17:44:21 +10:00
David Reid
856494d253
Update docs for missing build options.
...
Public issue https://github.com/mackron/miniaudio/issues/942
2025-02-16 15:45:56 +10:00
David Reid
a0aac6b5ec
Remove reference to MA_HAS_OPUS.
2025-02-16 15:17:37 +10:00
David Reid
60c7c776b4
PulseAudio: Fix a possible race condition with device init.
2025-02-16 14:59:16 +10:00
David Reid
125e9226fb
Fix an error with ma_sound processing.
2025-02-16 13:18:52 +10:00
David Reid
4deb3d4c6a
Remove a stray space.
2025-02-16 13:17:52 +10:00