Commit Graph

2982 Commits

Author SHA1 Message Date
David Reid 064c1abf30 Engine: Add support for controlling how the mono channel is expanded. 2021-12-18 18:48:37 +10:00
David Reid 1bbd14a592 Minor documentation change. 2021-12-18 18:16:50 +10:00
David Reid 3344df4f1c Minor updates to example description. 2021-12-18 18:15:21 +10:00
David Reid 800a7192ca Fix documentation error. 2021-12-18 18:15:09 +10:00
David Reid 0108939910 Update branding icon. 2021-12-18 15:38:10 +10:00
David Reid bb0d5506de Add an example for using effects with the engine. 2021-12-18 13:17:18 +10:00
David Reid fdc43c4c95 Minor updates to examples. 2021-12-18 13:14:57 +10:00
David Reid 80ca8c838e Fix an error with the previous commit. 2021-12-16 19:46:07 +10:00
David Reid 409e575a08 Use the device channel map for listeners if applicable. 2021-12-16 19:45:06 +10:00
David Reid 0704e1fd24 Add a diagram for the node graph to documentation. 2021-12-15 19:41:55 +10:00
David Reid 3c8a39f0fd API CHANGE: Rename some volume control APIs:
- ma_device_set_master_gain_db() > ma_device_set_master_volume_db()
  - ma_device_get_master_gain_db() > ma_device_get_master_volume_db()

This commit also relaxes the upper limit for volume control to allow
for amplification.

Public issue https://github.com/mackron/miniaudio/issues/377
2021-12-15 19:25:49 +10:00
David Reid 13b905ca64 Add node graph example. 2021-12-15 18:10:43 +10:00
David Reid 8b2397a3fb Pedantic whitespace fix. 2021-12-14 19:49:33 +10:00
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