Commit Graph

152 Commits

Author SHA1 Message Date
David Reid 16eca1827a Small tweak to WinMM. 2017-06-25 16:52:38 +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 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 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 9e4ca183a6 Clarification. 2017-06-05 06:58:21 +10:00
David Reid 3b9513248b Rename some variables. 2017-06-05 06:48:10 +10:00
David Reid 7b79e71023 Set up some very basic and experimental infrastructure for channel mapping. 2017-04-29 09:08:43 +10:00
David Reid a16d3e64fb Remove some old unused code. 2017-04-16 20:57:34 +10:00
David Reid ebbaf81381 SRC: Use a more appropriate cache size for frames. 2017-04-16 16:48:42 +10:00
David Reid 632911b350 Initial implementation of low quality linear sample rate conversion. 2017-04-16 14:34:25 +10:00
David Reid 91d7dac22e Minor clean up. 2017-04-08 21:02:27 +10:00
David Reid 4a8d883e09 Improve infrastructure for sample rate conversion and DSP. 2017-04-08 21:00:27 +10:00
David Reid 7926e035dd Fix the C++ build. 2017-01-18 17:04:17 +10:00
David Reid eb70fb5d8d Experimental work on an improved format conversion pipeline. 2017-01-06 23:50:34 +10:00
David Reid 5b4445926e Remove some unused functions. 2017-01-04 07:20:44 +10:00
David Reid 6cb7c48e77 Add some infrastructure for channel mapping.
This is not yet fully implemented.
2017-01-02 23:15:42 +10:00
David Reid 30ebb45a72 Add some early work on channel conversion. 2017-01-02 21:09:26 +10:00
David Reid b43ed1038f Fix an old comment. 2017-01-02 19:03:10 +10:00
David Reid bc222ea089 WASAPI: Add support for integer PCM formats. 2017-01-02 14:46:50 +10:00
David Reid cf2bde53de Improve the architecture for format conversion. 2017-01-02 12:04:35 +10:00
David Reid 95ea6c6b88 Add untested conversion routines for all supported formats. 2017-01-01 15:16:54 +10:00
David Reid 28596c9331 Win32: Link to ole32.dll dynamically at run-time. 2016-12-31 13:25:42 +10:00
David Reid f0739651ba Typo. 2016-12-31 12:49:13 +10:00
David Reid 7a2bd78fb6 Add support for the f32 format for OpenSL|ES. 2016-12-31 12:47:26 +10:00
David Reid 830d9e6c37 Add s16 -> f32 conversion. 2016-12-31 11:34:50 +10:00
David Reid ec6b12e31d Early work on format conversion.
This commit is intended to just experiment with the idea and only
supports f32 -> s16 conversions.
2016-12-30 10:00:52 +10:00
David Reid 03020219f9 Fix compilation errors. 2016-12-30 06:47:59 +10:00
David Reid 07f1f20c17 Some renaming for the OpenSL backend. 2016-12-29 23:52:34 +10:00
David Reid d568fe547a Win32: Simplify use of COM. 2016-12-29 23:44:52 +10:00
David Reid dd0554be0e Don't omit backend-specific attributes in structures.
The rationale behind this commit is to ensure the size of each data
structure remains consistent regardless of which backends are enabled
and disabled. This is important for mini_al because it publicly exposes
every struct.
2016-12-29 21:57:54 +10:00
David Reid 02788795fb Update documentation. 2016-12-29 21:27:00 +10:00
David Reid 47cc931933 Miscellaneous work on the OpenAL backend. 2016-12-29 20:43:06 +10:00