Commit Graph

191 Commits

Author SHA1 Message Date
David Reid 4794dbae7d Improve some error handling with the OpenAL backend. 2017-10-28 13:15:53 +10:00
David Reid b227b8278a Fix a warning with the Android build. 2017-10-28 13:11:52 +10:00
David Reid de6d21b282 Improve error handling for the OpenSL/Android backend. 2017-10-28 13:09:11 +10:00
David Reid 64fa72a8f3 Improve error handling for the ALSA and OSS backends. 2017-10-28 12:56:29 +10:00
David Reid 8d5c715ec2 Fix examples. 2017-10-28 12:56:01 +10:00
David Reid 72d96e80c5 Minor clean up. 2017-10-28 11:48:00 +10:00
David Reid b1a4c7499a Rename some variables for consistency. 2017-10-28 11:43:58 +10:00
David Reid 2e4f41759d Resolve a TODO. 2017-10-28 11:42:43 +10:00
David Reid 4d75af246d Improve error handling for the WASAPI backend. 2017-10-28 11:38:31 +10:00
David Reid 32da9fe5cb Simplify some documentation for clarity. 2017-10-28 11:17:42 +10:00
David Reid 400e3c9a53 API CHANGE: Pass the log callback to mal_context_init(). 2017-10-28 11:14:07 +10:00
David Reid 57e872feb7 Improve error handling for the WinMM backend. 2017-10-28 10:35:47 +10:00
David Reid ab2f128198 Minor fixes to documentation. 2017-09-11 21:40:26 +10:00
David Reid 72c9523882 Replace some flags with booleans to improve readability. 2017-09-11 19:18:58 +10:00
David Reid e55abcf951 Re-arrange the default backend priorities. 2017-09-10 22:08:50 +10:00
David Reid bbfdb37393 Update documentation. 2017-09-10 22:06:21 +10:00
David Reid 6b5425c50b Finish initial work on adding support for UWP.
This currently untested and only works when compiling as C++.
2017-09-10 21:31:05 +10:00
David Reid eaafdf88fa Clean up the WASAPI backend. 2017-09-10 16:38:09 +10:00
David Reid c6aac7622a Add placeholder variables in preparation for exclusive mode support. 2017-09-10 06:38:16 +10:00
David Reid 4cbeff8f48 Small optimizations to some format conversion routines. 2017-09-09 21:46:16 +10:00
David Reid d68ed4f887 Fix an initialization bug with the WinMM backend. 2017-07-22 22:35:13 +10:00
David Reid 18317050b7 Win32: Fix a silly mistake in mal_dlclose(). 2017-07-22 22:19:48 +10:00
David Reid a2181a5e68 Fix C++ build. 2017-07-16 21:24:58 +10:00
David Reid 16eca1827a Small tweak to WinMM. 2017-06-25 16:52:38 +10:00
David Reid c63e4d038d Update readme. 2017-06-25 16:52:27 +10:00
David Reid 5e0d0c4ead Merge branch '0.4' of https://github.com/dr-soft/mini_al into 0.4 2017-06-25 16:29:20 +10:00
David Reid ab5713d036 Update readme. 2017-06-25 16:29:02 +10:00
David Reid 43a113218a Remove some useless comments. 2017-06-25 16:06:55 +10:00
David Reid 68c60987fa OSS: Fix a memory leak. 2017-06-25 16:04:06 +10:00
David Reid a26c210deb OSS: Make logging consistent with other backends. 2017-06-25 16:03:02 +10:00
David Reid 0414907e62 Add the WinMM backend. 2017-06-25 15:42:17 +10:00
David Reid f9f31b8a18 Minor clean up to the ALSA backend. 2017-06-24 23:24:42 +10:00
David Reid aff1ef9107 Clean up. 2017-06-24 22:13:20 +10:00
David Reid ac158cd049 Add early support for OSS. 2017-06-24 19:08:26 +10:00
David Reid c15dcfb820 Early OSS support. 2017-06-22 21:34:28 +10:00
David Reid da86a49f9b Lay down some OSS stubs. 2017-06-22 19:10:43 +10:00
David Reid c097eec8d8 Prepare for 0.3 release. 2017-06-19 21:05:56 +10:00
David Reid 1e501fc05c Improve input validation. 2017-06-19 20:47:17 +10:00
David Reid ba74830079 Update documentation. 2017-06-18 22:46:54 +10:00
David Reid 0f21153ffe Add helper APIs for initializing device configs.
* mal_device_config_init()
 * mal_device_config_init_capture()
 * mal_device_config_init_playback()
2017-06-18 21:25:01 +10:00
David Reid acb5ce1595 Tabs to spaces. 2017-06-18 20:08:56 +10:00
David Reid ade7edabf8 Fixes and improvements to the OpenSL backend:
* Make device initialization more robust.
 * Add support for channel mapping.
 * Add support for 32-bit floating point formats.
 * Miscellaneous bug fixes.
2017-06-18 18:59:46 +10:00
David Reid b9d132db62 Fix some errors with channel mapping. 2017-06-18 11:04:49 +10:00
David Reid e06283c259 Try adding support for channel mapping to the ALSA backend.
As of this commit, this does not work in my testing environment. More
testing is needed for this one.
2017-06-06 21:58:47 +10:00
David Reid e4bc09f721 Fix the non-Win32 build. 2017-06-06 20:19:21 +10:00
David Reid c67f74edfd Add channel mapping support to the OpenAL backend. 2017-06-06 19:50:39 +10:00
David Reid c02b90e801 Add support for channel mapping to the WASAPI backend. 2017-06-06 06:23:27 +10:00
David Reid 5f37bc7504 Get very basic channel mapping working with DirectSound. 2017-06-05 22:10:35 +10:00
David Reid 73ac3cc8c0 Never say never... 2017-06-05 19:25:22 +10:00
David Reid 9e4ca183a6 Clarification. 2017-06-05 06:58:21 +10:00