Commit Graph

502 Commits

Author SHA1 Message Date
David Reid 165350e7c5 Make mal_dsp API consistent. 2018-04-01 11:52:55 +10:00
David Reid 70e55d39f8 Rename mal_channel_router_init_deinterleaved to mal_channel_router_init 2018-04-01 11:29:11 +10:00
David Reid ac4c1109f8 Make channel router API consistent with format converter. 2018-04-01 11:13:17 +10:00
David Reid 96815f4351 Simplify the format converter API. 2018-04-01 11:00:36 +10:00
David Reid d5549b371a Rename some functions from "read_frames" to "read". 2018-04-01 10:44:41 +10:00
David Reid 1ef58d540a Add a pUserData parameter to read functions for data conversion. 2018-04-01 10:39:22 +10:00
David Reid 6f596d93f3 Set up some infrastructure for the new data conversion system. 2018-04-01 09:50:42 +10:00
David Reid 847897e3ea Add mal_channel_router_config_init(). 2018-03-31 17:16:07 +10:00
David Reid 81ae390c0a Use the term "deinterleaved" instead of "separated". 2018-03-31 17:08:08 +10:00
David Reid 7272a09242 Fix warnings in tests. 2018-03-31 16:56:35 +10:00
David Reid 82b3d10891 Make sure cmap is mono for relevant channel masks. 2018-03-31 16:54:10 +10:00
David Reid 223727cff5 Add some channel routing tests. 2018-03-31 16:36:55 +10:00
David Reid 322688d73e Fix a bad input validation check. 2018-03-31 15:46:42 +10:00
David Reid 72b28cc0bb Make blend mode the default for channel mixing. 2018-03-31 14:47:54 +10:00
David Reid 4558800991 Improvements to blended channel mixing. 2018-03-31 14:40:47 +10:00
David Reid 86428055e5 Early untested work on spatial blending for channel conversion. 2018-03-30 18:14:58 +10:00
David Reid 69c4a35e38 Set up some infrastructure for channel routing. 2018-03-28 19:59:23 +10:00
David Reid 52584ba5a8 Const-correctness improvements. 2018-03-25 16:45:04 +10:00
David Reid 13b95af695 Consistency changes. 2018-03-25 16:41:16 +10:00
David Reid a4063aeb49 Add another test case for the format converter. 2018-03-25 16:37:55 +10:00
David Reid a4ddf17998 Format converter bug fixes. 2018-03-25 16:28:01 +10:00
David Reid bbe719c426 Fix sign/sine wave typos.
Don't think I'll ever stop making this mistake...
2018-03-25 14:51:40 +10:00
David Reid 5f0ce3d3d1 Remove unneeded file. 2018-03-25 14:03:40 +10:00
David Reid c10b3e8c23 Add tests output folder. 2018-03-25 13:57:42 +10:00
David Reid 19f4630c92 Rename mal_get_sample_size_in_bytes() to mal_get_bytes_per_sample(). 2018-03-25 13:57:14 +10:00
David Reid a95005af03 Add a sine wave generator. 2018-03-25 13:06:56 +10:00
David Reid 0a3d077c04 Fix warnings. 2018-03-25 11:33:44 +10:00
David Reid 5ba02842de Update gitignore. 2018-03-25 11:28:28 +10:00
David Reid ea0203caaa Documentation. 2018-03-25 11:27:52 +10:00
David Reid 8ff85106be Fix some bugs with interleaving/deinterleaving. 2018-03-25 11:02:38 +10:00
David Reid 0eee443bd2 Remove auto-generated code. 2018-03-25 08:53:51 +10:00
David Reid bcbc7ad4a2 Early work on improving format conversion. 2018-03-25 08:50:03 +10:00
David Reid afa279a27b Check for passthrough in tests. 2018-03-19 21:58:33 +10:00
David Reid e1a2b5adbc OpenAL: Cleanly uninitialize devices. 2018-03-19 19:14:23 +10:00
David Reid 79cc689da7 Add build script for BSD. 2018-03-18 21:44:36 +10:00
David Reid dbb90b80aa Add a basic test. 2018-03-18 21:37:07 +10:00
David Reid 380971d682 Fixes to the C++ build. 2018-03-18 21:33:43 +10:00
David Reid cda3c7eb0c Update gitignore. 2018-03-18 20:50:36 +10:00
David Reid ebece8281a Fix errors when opening a decoder from a file. 2018-03-18 20:50:18 +10:00
David Reid fb527d1617 DirectSound: Fix a bug with mal_context_get_device_info(). 2018-03-18 19:38:24 +10:00
David Reid d248f32919 Don't modify pDeviceInfo in mal_context_get_device_info() on error. 2018-03-18 19:36:02 +10:00
David Reid 65cb613343 Fix some errors with DirectSound. 2018-03-18 19:27:21 +10:00
David Reid 492dec699b Fix errors with GCC when Vorbis decoding is enabled. 2018-03-18 17:42:11 +10:00
David Reid 326f268b8f Fix some compilation errors with MinGW. 2018-03-18 17:39:21 +10:00
David Reid 54b590683a Move OSS above PulseAudio in the priority list. 2018-03-18 16:16:44 +10:00
David Reid 4f15e6d7e7 Whitespace. 2018-03-18 16:06:41 +10:00
David Reid f9a8ab0dcd Fix a warning. 2018-03-18 16:02:45 +10:00
David Reid 9c03157995 Use mal_strcmp() instead of strcmp(). 2018-03-18 15:43:08 +10:00
David Reid cf245b617d Remove the old device enumeration API. 2018-03-18 15:41:04 +10:00
David Reid 3a1dce6986 Update readme. 2018-03-18 14:57:29 +10:00