Commit Graph

2969 Commits

Author SHA1 Message Date
David Reid ad1c36dfae More documentation improvements. 2021-12-13 21:01:53 +10:00
David Reid 04a6b232bf Update version number and revision history. 2021-12-13 17:41:13 +10:00
David Reid 01881a2b02 Add some documentation for custom resamplers. 2021-12-12 19:31:39 +10:00
David Reid 448d8a14fc Improve documentation for resource management. 2021-12-12 19:06:56 +10:00
David Reid 40c8235e9d Add documentation for custom decoders. 2021-12-12 16:57:31 +10:00
David Reid 7e708dccef Add small section for optimization tips to documentation.
This still needs some expansion.
2021-12-12 16:06:46 +10:00
David Reid 1484b9e239 Documentation. 2021-12-12 16:00:04 +10:00
David Reid 274bdd9ca5 API CHANGE: Rename linear/decibel conversion functions.
- ma_factor_to_gain_db > ma_volume_linear_to_db
  - ma_gain_db_to_factor > ma_volume_db_to_linear
2021-12-12 15:37:38 +10:00
David Reid bf60b96189 Add documentation about object management. 2021-12-12 15:25:22 +10:00
David Reid 23e87698e1 Update c89atomic. 2021-12-12 15:07:21 +10:00
David Reid 810d541396 Add some missing getters. 2021-12-12 15:04:50 +10:00
David Reid edbbb2abe7 Standardize the return type on some functions. 2021-12-12 14:40:45 +10:00
David Reid 6974fd8d52 Remove some unnecessary functions. 2021-12-12 14:39:35 +10:00
David Reid 6381644623 sndio: Fix a compilation error. 2021-12-11 18:34:33 +10:00
David Reid f8fa9332e4 OSS: Fix a compilation error. 2021-12-11 18:30:24 +10:00
David Reid 959de2e907 Update dr_libs and c89atomic.
This fixes some warnings when compiling with Clang on Windows.
2021-12-11 16:31:36 +10:00
David Reid a220ae1a14 Integrate alignment into the MA_ATOMIC macro.
This change forces correct alignment of variables marked as atomic.
2021-12-11 15:26:56 +10:00
David Reid 57b101b1d4 Rename a macro to make it clear that it relates only to atomics. 2021-12-11 15:07:04 +10:00
David Reid 9598247096 Remove old files and update examples. 2021-12-10 21:13:34 +10:00
David Reid ed22ebbfe8 Fix a comment. 2021-12-10 20:55:39 +10:00
David Reid 63ac5e17d4 Update documentation to make it clear that structs are transparent. 2021-12-10 20:45:13 +10:00
David Reid 0e682351ac Merge branch 'master' into dev-0.11 2021-12-10 19:09:07 +10:00
David Reid 8686f52e66 Version 0.10.43 2021-12-10 19:07:29 +10:00
David Reid cc99951fdb Update dr_libs. 2021-12-10 19:06:12 +10:00
David Reid c2462334d7 Don't declare ma_engine_play_sound when resource manager is disabled. 2021-12-10 18:57:28 +10:00
David Reid 12f9d7a7c1 Minor tweaks to test program. 2021-12-10 16:14:41 +10:00
David Reid ba3080d07d Add support for partial processing to nodes.
This includes a leading trimming node to act as a test.
2021-12-10 16:13:16 +10:00
David Reid b8d04bdd87 Minor typo. 2021-12-10 14:28:54 +10:00
David Reid c9d7b4a34a Fix a bug in the channel converter. 2021-12-10 08:35:34 +10:00
David Reid 297061d3b1 Fix 64-bit arm detection. 2021-12-10 07:46:23 +10:00
David Reid dc912eb123 Fix some examples. 2021-12-10 07:03:25 +10:00
David Reid d28a87aa34 Fix an error about an unused tag. 2021-12-10 07:02:17 +10:00
David Reid 0d9d481371 Disable lock free job queues.
This is hopefully a temporary measure to address a bug in the lock-free
algorithm.
2021-12-10 06:49:11 +10:00
David Reid c3c961e9cc Fix an incorrect use of an atomic. 2021-12-10 06:19:08 +10:00
David Reid f2c2283178 Fix an error when retrieving the cursor from a data stream. 2021-12-08 16:11:47 +10:00
David Reid 40d89f90c7 Merge branch 'dev' into dev-0.11 2021-12-05 08:32:53 +10:00
David Reid 0ffceeefcf PulseAudio: Fix a possible division by zero. 2021-12-05 08:32:13 +10:00
David Reid 60290e6fd2 Remove an incorrect revision note. 2021-11-17 19:42:36 +10:00
David Reid db1de8e299 iOS: Don't fail on older versions when a session category is specified. 2021-11-17 19:41:29 +10:00
David Reid 1964144a46 Merge pull request #373 from orx/dev-0.11
Fixed compiling for iOS 11.x and earlier
2021-11-17 19:36:20 +10:00
David Reid eccbbdd0ec Merge branch 'dev' into dev-0.11 2021-11-17 19:19:16 +10:00
David Reid cf02c9e9a2 WebAudio: Fix errors in strict mode.
Public issue https://github.com/mackron/miniaudio/issues/363
2021-11-17 19:18:35 +10:00
iarwain 8e092f375a Fixed compiling for iOS 11.x and earlier 2021-11-16 03:12:51 -05:00
David Reid f225ae945c Merge branch 'dev' into dev-0.11 2021-11-14 17:51:29 +10:00
David Reid c221402e9c Update revision history. 2021-11-14 17:50:53 +10:00
David Reid 3f483f61fc ALSA: Fix enumeration of devices that support playback and capture.
It looks like IOID will be null when both modes are supported.

Public issue https://github.com/mackron/miniaudio/issues/365
2021-11-14 17:50:34 +10:00
David Reid 77cd309e0b Merge branch 'dev' into dev-0.11 2021-11-14 17:35:15 +10:00
David Reid 45622bd777 Update revision history. 2021-11-14 17:34:20 +10:00
David Reid ac60f859f2 Merge pull request #371 from cdsteinkuehler/uninitialized
Fix use of uninitialized variables
2021-11-14 17:34:11 +10:00
David Reid 75a6b8191c Add support for disabling listeners. 2021-11-14 17:04:07 +10:00