Commit Graph

2887 Commits

Author SHA1 Message Date
David Reid 063be8c003 Fix compilation errors when certain compile time options are enabled. 2021-08-28 13:00:56 +10:00
David Reid fee3e69d93 Merge branch 'master' into dev-0.11 2021-08-22 19:14:08 +10:00
David Reid dbca7a3b44 Version 0.10.42 2021-08-22 19:12:59 +10:00
David Reid 2ef44507d4 Try fixing a few issues with the lock-free queue. 2021-08-22 10:20:28 +10:00
David Reid a08320e828 Merge branch 'dev' into dev-0.11 2021-08-22 10:02:28 +10:00
David Reid 04fe72010f Experimental fix for an hang when stopping devices.
Public issue https://github.com/mackron/miniaudio/issues/355
2021-08-22 09:09:43 +10:00
David Reid db8d96da0c Fix an infinite loop. 2021-08-18 21:15:04 +10:00
David Reid a80c5e5d60 Fix another copy/paste error. 2021-08-18 20:55:26 +10:00
David Reid 64e5b1b91a Fix a copy/paste error. 2021-08-18 20:54:33 +10:00
David Reid 8d5b3d16e4 Add some double-free detection to the slot allocator. 2021-08-18 20:51:34 +10:00
David Reid ce6108feff Use atomic loads when checking execution orders of jobs. 2021-08-18 20:26:43 +10:00
Steven Noonan 86029cde7c ma_slot_allocator_free: use atomic load on allocator count
Signed-off-by: Steven Noonan <steven@uplinklabs.net>
2021-08-18 18:18:32 +10:00
David Reid 0c22f75ef7 Fix a bug in the LOAD_DATA_BUFFER job. 2021-08-18 18:16:47 +10:00
David Reid 92bf37c8bb Fix a bug where volume is not applied correctly for output buses. 2021-08-17 19:08:22 +10:00
David Reid 2d76a9b352 Add release notes for version 0.11 2021-08-15 20:38:58 +10:00
David Reid 448a7c90ff Fix some -Wundef warnings. 2021-08-15 19:27:50 +10:00
David Reid f099c7b13e Merge branch 'dev' into dev-0.11 2021-08-15 16:40:12 +10:00
David Reid 5a5d523d09 Version 0.10.41 2021-08-15 16:39:54 +10:00
David Reid c43eac28f0 Update documentation. 2021-08-15 16:06:43 +10:00
David Reid c73a92d158 Update readme. 2021-08-14 19:21:58 +10:00
David Reid 24e16b5234 Minor change to wording in the readme. 2021-08-14 19:19:56 +10:00
David Reid d177cb5e60 Update readme. 2021-08-14 19:18:26 +10:00
David Reid 73fdf8486b Move external nodes out of the research folder. 2021-08-14 18:50:48 +10:00
David Reid 2671e07560 Add examples for the high level API. 2021-08-14 18:41:26 +10:00
David Reid eac61ddc52 All the engine to be used with MA_NO_DEVICE_IO.
This allows the engine to be used independent of a device which might
be useful for tools.
2021-08-14 17:23:13 +10:00
David Reid 0b880d6a2c Move some effects out of the MA_NO_ENGINE section.
* ma_gainer
  * ma_panner
  * ma_fader
  * ma_spatializer
2021-08-14 16:49:05 +10:00
David Reid ffa0a51d86 Move ma_delay out of the MA_NO_NODE_GRAPH section. 2021-08-14 16:31:19 +10:00
David Reid f6d8a753a4 Rename MA_STATE* to ma_device_state* and make it an enum. 2021-08-14 16:26:44 +10:00
David Reid 68f9484689 Try fixing a few issues with the lock-free job queue. 2021-08-14 14:25:08 +10:00
David Reid 6972cb5388 Mark some variables as atomic. 2021-08-14 13:54:10 +10:00
David Reid 47381c66de Remove dr_* libraries from the extras folder.
These are amalgamated into miniaudio.h now and are no longer required
in the extras folder.
2021-08-14 10:33:54 +10:00
David Reid 9964922b63 Fix some alignment errors with preallocation. 2021-08-14 10:30:09 +10:00
David Reid 2e9b6422b8 Use preallocation for the engine node resampler. 2021-08-14 10:23:53 +10:00
David Reid 8576fa62ce Fix a bug when retrieving the channel map of a data converter. 2021-08-10 17:21:51 +10:00
David Reid 677a7132af Relax MA_MAX_CHANNELS. 2021-08-08 14:39:49 +10:00
David Reid 30c41c76ee Rename ma_get_standard_channel_map() to ma_channel_map_init_standard(). 2021-08-08 13:09:06 +10:00
David Reid 405fc1ab70 API CHANGE: Rename ma_channel_map_valid() to ma_channel_map_is_valid().
This also changes the order of parameters to be consistent with the new
standard for channel maps.
2021-08-08 12:06:31 +10:00
David Reid e2a61365f2 Fix some signed/unsigned warnings and update dr_mp3. 2021-08-08 10:20:39 +10:00
David Reid fda588d96b Fix compilation errors with OpenWatcom. 2021-08-08 10:04:58 +10:00
David Reid cec955edf4 Whitespace. 2021-08-08 10:01:23 +10:00
David Reid c77e88dfd7 Fix some warnings with OpenWatcom. 2021-08-08 10:00:23 +10:00
David Reid eb1f667fe0 Fix compilation errors relating to denormals.
* Fix an error when _MM_DENORMALS_ZERO_MASK or _MM_FLUSH_ZERO_MASK is
    not supported.

  * Fix compilation errors with TCC.
2021-08-08 09:50:37 +10:00
David Reid d357e8a1f6 Fix compilation errors with VC6. 2021-08-08 09:38:05 +10:00
David Reid 7b46166431 Fix compilation on older versions of Visual Studio. 2021-08-08 09:06:28 +10:00
David Reid e04db53ef5 Fix a strict C89 error. 2021-08-08 08:38:03 +10:00
David Reid 510519fe1d Fix denormal control with VC6. 2021-08-08 08:36:45 +10:00
David Reid d0285d6b51 Add support for preallocation to ma_bpf. 2021-08-07 19:13:22 +10:00
David Reid 573f921d09 Remove dependency on MA_MAX_CHANNELS from the JACK backend. 2021-08-07 17:55:22 +10:00
David Reid caa3d7a55c Silence some warnings. 2021-08-07 17:18:36 +10:00
David Reid 81bc7a9023 Fix a memory leak with devices. 2021-08-05 22:18:01 +10:00