Commit Graph

490 Commits

Author SHA1 Message Date
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
David Reid 3b1fe5962d Disable runtime linking of pthread by default.
This causes problems on some platforms which results in random deadlocks.
2018-03-18 14:28:03 +10:00
David Reid d3edd02a74 OSS: Implement new device enumeration APIs. 2018-03-18 14:12:53 +10:00
David Reid 7c9b952fce Add building notes for Android. 2018-03-18 12:22:46 +10:00
David Reid d46409c4b5 Remove unnecessary statics. 2018-03-18 12:01:46 +10:00
David Reid a27a97f8c8 Add some thread safety to the ALSA backend. 2018-03-18 11:44:20 +10:00
David Reid 5f0f7eb2bb Simplify mal_context_get_device_info(). 2018-03-18 11:35:27 +10:00
David Reid 44ba584c28 Replace some instances of mal_strcpy_s() with mal_strncpy_s(). 2018-03-18 10:56:42 +10:00
David Reid 2c01858f3a SDL: Implement the new device enumeration APIs. 2018-03-18 10:29:36 +10:00
David Reid 59f01c5be0 OpenAL: Implement the new device enumeration APIs. 2018-03-18 10:02:12 +10:00
David Reid b8638f2c46 Use mal_strncpy_s() instead of mal_strcpy_s() in a few places. 2018-03-18 07:50:58 +10:00
David Reid 40aad047a1 OpenSL: Implement the new device enumeration APIs. 2018-03-18 07:44:39 +10:00
David Reid 789bd23246 JACK: Implement the new device enumeration APIs. 2018-03-18 06:47:19 +10:00