Commit Graph

133 Commits

Author SHA1 Message Date
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 a5edf715a1 Update gitignore. 2017-01-01 00:41:50 +10:00
David Reid 69f29d128e Add some bad experimental work on automatic sample format conversion. 2017-01-01 00:35:32 +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 3348fc0a3c Update examples. 2016-12-29 20:43:31 +10:00
David Reid 47cc931933 Miscellaneous work on the OpenAL backend. 2016-12-29 20:43:06 +10:00
David Reid 629b37bbba Remove dependency on OpenAL headers. 2016-12-29 19:41:26 +10:00
David Reid c466f8de33 Apple platform detection. 2016-12-29 19:21:44 +10:00
David Reid 4f62eed986 Misc. fixes for the OpenAL backend. 2016-12-29 18:11:51 +10:00
David Reid 516ff2e539 Get basic playback working on the OpenAL backend. 2016-12-29 15:22:44 +10:00
David Reid 518f628fd6 Exploratory work on the OpenAL backend. 2016-12-29 00:07:38 +10:00
David Reid f8daea0710 API CHANGE: Remove the rewinding APIs.
The rationale for this is that it's to unreliable and inconsistent
across each backend and not worth the added maintenance cost.
2016-12-28 17:45:49 +10:00
David Reid 8191bb5050 Fix an error where the incorrect backend is being used. 2016-12-28 17:38:31 +10:00
David Reid 74a790a508 Fix C++ build for the WASAPI backend. 2016-12-28 17:28:43 +10:00
David Reid ea5cc7fc28 Update gitignore. 2016-11-22 11:20:20 +10:00
David Reid e33d149aec Fix a compilation error. 2016-11-14 22:21:53 +10:00
David Reid 8987711b90 Give DirectSound priority over WASAPI for now. 2016-11-14 22:19:39 +10:00
David Reid e4fc7599ff Update documentation. 2016-11-14 20:23:49 +10:00
David Reid ddabf406a4 Update example code in documentation. 2016-11-14 20:19:30 +10:00
David Reid d80651e110 Update change log. 2016-11-14 20:14:50 +10:00
David Reid 08d46c27a8 Remove a todo. 2016-11-14 20:06:41 +10:00
David Reid dd7c706ea0 Update example in readme. 2016-11-14 20:03:59 +10:00
David Reid 1d9ccdec51 Update examples. 2016-11-14 20:02:41 +10:00
David Reid 262452139f Add a todo. 2016-11-14 19:56:35 +10:00
David Reid 6d84abec2e Fix a copy/paste error. 2016-11-14 19:50:50 +10:00
David Reid 4e05d6d88c Remove unneeded property from mal_device. 2016-11-14 19:50:18 +10:00
David Reid d1d265b74d API CHANGE: Change parameters of mal_device_init().
These changes add a mal_context parameter and moves the output device
to the last parameter for consistency with mal_context_init().
2016-11-14 19:44:48 +10:00
David Reid 3982453b6b API CHANGE: Have mal_enumerate_devices() take a context object. 2016-11-14 13:56:12 +10:00
David Reid 982791b377 Add some infrastructure for the new context system. 2016-11-14 13:29:09 +10:00
David Reid 80c8f7d843 Prioritize WASAPI over DirectSound. 2016-11-13 23:43:46 +10:00
David Reid fb4cc86624 WASAPI: Add initial support for capture. 2016-11-13 23:33:32 +10:00
David Reid 16c3856dba WASAPI: Add initial support for playback. 2016-11-13 22:36:39 +10:00
David Reid ff8ef78480 WASAPI: Add support for device enumeration. 2016-11-13 17:21:51 +10:00