Commit Graph

2999 Commits

Author SHA1 Message Date
David Reid 5efdcf7188 Merge pull request #383 from Perksey/patch-1
Reorder examples in README
2021-12-25 13:04:09 +10:00
Dylan Perks 76dcdf776b Reorder examples in README 2021-12-24 19:16:24 +00:00
David Reid eabae58988 Remove old release notes. 2021-12-23 19:25:36 +10:00
David Reid 1a06769faf Update revision history. 2021-12-23 19:21:14 +10:00
David Reid 1b60027ac3 Convert channel positions over to an enum.
Public issue https://github.com/mackron/miniaudio/issues/218
2021-12-23 17:23:22 +10:00
David Reid 7f7e8b267e AAudio: Allow initialization of devices in exclusive mode. 2021-12-23 16:52:16 +10:00
David Reid 27e792cf94 Merge pull request #381 from kgdev/dev
fix wrong assert in ma_open_stream__aaudio
2021-12-23 16:36:02 +10:00
kgdev cbf56420c8 fix wrong assert in ma_open_stream__aaudio 2021-12-23 13:12:12 +08:00
David Reid 6aab29a982 OpenSL: Set the default device ID when enumerating over devices.
Public issue https://github.com/mackron/miniaudio/issues/379
2021-12-22 17:39:44 +10:00
David Reid fe6b8dc08f OpenSL: Always force the use of the default device on Android.
Public issue https://github.com/mackron/miniaudio/issues/379
2021-12-22 17:31:18 +10:00
David Reid 0c6dfa6911 Whitespace. 2021-12-22 17:10:24 +10:00
David Reid cd1692ac56 Fix a crash in ma_engine_init().
This happens when the pEngine parameter is NULL.
2021-12-22 17:09:11 +10:00
David Reid c9a4f21e4e Version 0.11.0 2021-12-18 21:19:34 +10:00
David Reid 042fe95b70 Update readme. 2021-12-18 21:13:38 +10:00
David Reid 7a8eed3ed5 Documentation fixes. 2021-12-18 20:58:11 +10:00
David Reid b0ee942427 Update c89atomic. 2021-12-18 19:16:23 +10:00
David Reid ec14c62a93 Silence a warning with GCC. 2021-12-18 19:12:31 +10:00
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