David Reid
61b95779c2
Fix line spacing in test.
2021-08-05 20:47:50 +10:00
David Reid
4bcf1931e5
Remove dependency on MA_MAX_CHANNELS from ma_noise.
2021-08-05 20:12:13 +10:00
David Reid
5059eb522f
Remove dependency on MA_MAX_CHANNELS from ma_decoder.
2021-08-05 19:18:26 +10:00
David Reid
33dab4e475
Typo.
2021-08-05 18:43:37 +10:00
David Reid
ca68c2b8f3
Remove dependency on MA_MAX_CHANNELS from ma_device_config.
2021-08-05 18:25:36 +10:00
David Reid
018c1713d2
Merge branch 'dev' into dev-0.11
2021-08-04 22:22:32 +10:00
David Reid
9d9395d78f
Fix some warnings with ma_libopus and ma_libvorbis.
2021-08-04 22:22:19 +10:00
David Reid
b45a978d4d
Remove dependency on MA_MAX_CHANNELS from data conversion.
2021-08-04 21:27:01 +10:00
David Reid
ecfac57bed
Minor changes to data converter in preparation for future work.
2021-08-04 20:42:23 +10:00
David Reid
961223b50c
Add support for preallocation to ma_data_converter.
2021-08-04 20:24:06 +10:00
David Reid
59b6bcdfec
Fix a formatting error with logging.
2021-08-04 17:30:44 +10:00
David Reid
c0a9d3e9d3
Refactoring to channel converter.
...
With this change, support for preallocation has been added and the
dependency on MA_MAX_CHANNELS has been removed.
2021-08-04 17:29:19 +10:00
David Reid
8036bcb64d
Fix a memory leak.
2021-07-31 13:06:01 +10:00
David Reid
b9f5290889
Add support for presallocation to ma_resampler.
...
This commit makes preallocation mandatory for custom resamplers.
2021-07-31 12:54:01 +10:00
David Reid
947bccee18
Update c89atomic.
2021-07-31 10:31:34 +10:00
David Reid
369d3b8df7
Fix compilation errors with examples.
2021-07-31 10:22:20 +10:00
David Reid
d371f3553a
Fix compilation errors with MA_NO_RESOURCE_MANAGER and MA_NO_DECODING.
2021-07-31 10:15:16 +10:00
David Reid
93fe77a0d5
Merge branch 'dev' into dev-0.11
2021-07-31 10:07:23 +10:00
David Reid
e40373a083
Update dr_libs and fix platform detection for ARM64.
2021-07-31 10:06:44 +10:00
David Reid
4e2e371b26
Fix a merge error.
2021-07-31 09:25:02 +10:00
David Reid
50bba9fa36
Merge branch 'dev' into dev-0.11
2021-07-31 09:20:09 +10:00
David Reid
cb56bb6c64
Update revision history.
2021-07-31 09:20:00 +10:00
David Reid
a369f2a604
Merge branch 'dev' into dev-0.11
2021-07-31 09:17:43 +10:00
David Reid
e358e72f67
Core Audio: Fix a possible deadlock when uninitializing a device.
2021-07-31 09:16:52 +10:00
Steven Noonan
43f2e28c20
coreaudio: don't allow g_DeviceTrackingInitCounter_CoreAudio to go negative
...
Signed-off-by: Steven Noonan <steven@uplinklabs.net >
2021-07-31 09:08:02 +10:00
Steven Noonan
4be3cc597a
coreaudio: ensure we increment the tracking counter properly
...
Signed-off-by: Steven Noonan <steven@uplinklabs.net >
2021-07-31 09:03:48 +10:00
David Reid
68543c8d2e
More atomic experiments.
2021-07-29 17:59:29 +10:00
David Reid
a528d25803
Experiment with some atomic loads.
2021-07-28 21:25:24 +10:00
David Reid
421acd33d9
Fix a bug with acquiring a data buffer node.
2021-07-28 21:06:25 +10:00
David Reid
ab20c9e696
Fix a bug introduced with a recent commit.
2021-07-28 20:59:29 +10:00
David Reid
772e75fe5e
Fix a bug with the lock-free job queue.
2021-07-28 20:35:20 +10:00
David Reid
7ea38278f4
Fix a bug with the slot allocator when the cap is not a multiple of 32.
2021-07-28 18:40:29 +10:00
David Reid
6cdeaacee6
Fix some bugs when acquiring a data buffer node.
2021-07-28 18:21:39 +10:00
David Reid
ce86d63181
Update simple_loopback example.
2021-07-28 17:34:54 +10:00
David Reid
af8cc1c3da
Add support for heap preallocation to ma_linear_resampler.
2021-07-25 22:25:36 +10:00
David Reid
dc68382a94
Add support for preallocation to ma_hpf.
2021-07-25 20:54:55 +10:00
David Reid
20f88531c9
Add support for preallocation to ma_lpf.
2021-07-25 20:44:24 +10:00
David Reid
f6f2c442f0
Adjust some assumptions.
2021-07-25 19:45:23 +10:00
David Reid
e6da1c52de
Add support for heap preallocation to ma_lpf1 and ma_hpf1.
2021-07-25 19:23:15 +10:00
David Reid
ebbeebc857
Add support for preallocation for biquad filters.
2021-07-25 09:26:16 +10:00
David Reid
ccc01563ba
Clean up a typo.
...
Public issue https://github.com/mackron/miniaudio/issues/349
2021-07-25 08:50:18 +10:00
David Reid
729f298fa9
API CHANGE: Remove dependency on MA_MAX_CHANNELS from filters.
...
This no longer stores per-channel data within the object. Instead it is
now allocated on the heap.
2021-07-24 11:51:07 +10:00
David Reid
a9a2fc661f
Merge branch 'master' into dev-0.11
2021-07-23 19:34:42 +10:00
David Reid
37fe1343f0
Version 0.10.40
2021-07-23 19:33:39 +10:00
David Reid
3622dbea39
Update revision history.
2021-07-23 18:36:27 +10:00
David Reid
05e99c880b
PulseAudio: Fix a glitch when pausing and resuming a device.
...
Public issue https://github.com/mackron/miniaudio/issues/348
2021-07-22 19:28:38 +10:00
David Reid
88f8574197
Fix a bug when converting from stereo to mono.
...
Public issue https://github.com/mackron/miniaudio/issues/347
2021-07-21 20:37:42 +10:00
David Reid
5fe2e6e565
Merge branch 'master' into dev-0.11
2021-07-20 19:28:59 +10:00
David Reid
8bf157f10e
Version 0.10.39
2021-07-20 19:27:24 +10:00
Steven Noonan
92f3644011
denormals: fix inverted logic in ma_device_{disable,restore}_denormals
...
It was only disabling denormals when "noDisableDenormals" was set, which
is the opposite of what was intended.
Signed-off-by: Steven Noonan <steven@uplinklabs.net >
2021-07-20 19:18:15 +10:00