znakeeye
7158cf58f9
Re-route lock moved outside ma_device_reinit__aaudio
...
Re-route lock moved outside ma_device_reinit__aaudio call to avoid potential race condition. Also cleaned up the reroute code a bit.
2025-03-08 17:47:48 +10:00
znakeeye
fe616c1a5a
AAudio: Prevent re-routing while tearing down device. Fixes a crash where re-route thread would read ma_device while being destroyed from main thread.
2025-03-08 17:47:48 +10:00
David Reid
7bd2e6a5bd
Merge branch 'dev' into dev-0.12
2025-03-05 15:02:43 +10:00
David Reid
cd16c5bcd3
Update fs.
2025-03-05 15:02:33 +10:00
David Reid
1ab91b05c0
Delete a duplicate example.
2025-03-05 14:58:59 +10:00
David Reid
76dfabbb45
Remove a link from the readme since I no longer monitor it.
2025-02-26 09:08:26 +10:00
David Reid
ca4cfef267
Fix a memory leak in ma_decoder_init_memory().
2025-02-25 09:21:22 +10:00
David Reid
569edb8436
Merge branch 'dev' into dev-0.12
2025-02-25 06:49:01 +10:00
David Reid
46d8abf3de
Add teardown to custom_decoder_engine.
2025-02-25 06:48:34 +10:00
David Reid
c5dda3c769
Merge branch 'dev' into dev-0.12
2025-02-24 16:35:53 +10:00
David Reid
350784a946
Version 0.11.22
0.11.22
2025-02-24 16:31:42 +10:00
David Reid
a65a7d139f
ALSA: Fix a bug where a playback device can fail to start.
2025-02-24 14:41:45 +10:00
David Reid
2a79d124c1
Fix some bugs in the resource_manager_advanced example.
2025-02-24 12:39:42 +10:00
David Reid
8261dc8972
Minor language change.
2025-02-24 12:25:15 +10:00
David Reid
c1daa31759
Update fs.
2025-02-24 12:24:08 +10:00
David Reid
b0e845e796
Update readme.
2025-02-24 10:20:34 +10:00
David Reid
d28ce1a841
Update changes.
2025-02-24 10:15:22 +10:00
David Reid
1e2be9307e
Minor change of language to the readme.
2025-02-24 10:05:04 +10:00
David Reid
17b8dbf948
Remove an invalid comment from some examples.
2025-02-24 10:03:21 +10:00
David Reid
4663423838
Update dr_wav.
2025-02-24 09:10:23 +10:00
David Reid
d6a1350c1f
Clean up some old code.
2025-02-24 09:09:23 +10:00
David Reid
c92e662de7
Simplify some test code.
2025-02-23 18:22:17 +10:00
David Reid
e272f56750
Update fs.
2025-02-23 18:14:04 +10:00
David Reid
1a83b0baa4
Update fs.
2025-02-23 15:09:00 +10:00
David Reid
9511596a25
Silence a static analysis warning.
2025-02-23 14:26:58 +10:00
David Reid
5c0724ad59
Fix an extremely unlikely bug with the resource manager.
...
This checks the result of reading from the decoder when asynchronously
loading a file. In practice the existing check already covers this, but
it's technically possible for an error result the be skipped over.
2025-02-23 14:20:16 +10:00
David Reid
c3b0a7fbbc
Fix a bug in ma_decoder_read_pcm_frames().
...
This will abort reading early if the underlying data source returns an
error.
2025-02-23 14:14:23 +10:00
David Reid
e4363a90be
Fix a channel mapping bug.
...
Thanks to the Clang static analyzer for this one!
2025-02-23 14:03:34 +10:00
David Reid
6453c9ff22
AAudio: Remove some duplicate code.
2025-02-23 13:46:19 +10:00
David Reid
e79e35a5ef
Fix compilation errors.
2025-02-23 13:08:56 +10:00
David Reid
7a250aa9f9
Merge branch 'dev' into dev-0.12
2025-02-23 12:55:40 +10:00
David Reid
8c52072f43
Remove const qualifiers from decoding backend vtable arrays.
2025-02-23 12:54:19 +10:00
David Reid
b6184fa2a0
Fix some Wnewline-eof warnings.
2025-02-23 12:11:29 +10:00
David Reid
166fd6dfc7
Silence some static analysis warnings.
2025-02-23 12:03:22 +10:00
David Reid
54373128ee
Fix a subtle undefined behaviour error.
2025-02-23 11:49:31 +10:00
David Reid
c74c90f686
Minor comment changes.
2025-02-23 11:35:26 +10:00
David Reid
01302b9715
Fix a parameter order error.
...
This did not affect functionality at all because the implementation of
the relevant function is just a simple bitwise OR.
2025-02-23 09:34:48 +10:00
David Reid
b5f1ff125e
Update documentation for ma_context_get_devices().
2025-02-23 09:31:52 +10:00
znakeeye
7a1135d448
Goto label placed outside braces for C compliance.
2025-02-23 09:25:16 +10:00
znakeeye
9f9fc2333e
Improved synchronization for AAudio rerouting. This should fix the crash observed in ma_device_init__aaudio (when re-routing).
2025-02-23 09:25:16 +10:00
David Reid
824e6aaef5
Merge branch 'dev' into dev-0.12
2025-02-22 19:54:37 +10:00
David Reid
a497466f75
Add basic testing app for Android.
...
This is only very basic right now. Will be expanded on later.
2025-02-22 18:54:45 +10:00
David Reid
9ed0a7c8ed
Merge branch 'dev' into dev-0.12
2025-02-22 14:37:15 +10:00
David Reid
37b95f0f42
Remove unnecessary example.
...
The delay node is demonstrated in the engine_effects example.
2025-02-22 14:36:46 +10:00
David Reid
7fb5ef188f
Merge branch 'dev' into dev-0.12
2025-02-22 14:26:03 +10:00
David Reid
9f10bc7540
Improvements to the build system for extra nodes.
...
With this change, nodes in the extras folder can now be compiled as a
conventional library.
2025-02-22 14:25:45 +10:00
David Reid
60c0b9eeba
Merge branch 'dev' into dev-0.12
2025-02-22 13:09:30 +10:00
David Reid
1fbad32949
Stop using MINIAUDIO_IMPLEMENTATION in examples.
2025-02-22 13:09:11 +10:00
David Reid
11f8cbc7bc
Merge branch 'dev' into dev-0.12
2025-02-22 13:00:45 +10:00
David Reid
e1f5ed4f79
Rename some more test source files.
2025-02-22 13:00:06 +10:00