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
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
3f8b716ef1
Tabs to spaces.
2017-04-16 20:54:32 +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
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