Commit Graph

2367 Commits

Author SHA1 Message Date
David Reid f7c184ea79 Disable WASM in the test build script for Emscripten.
This makes it more convenient to test because it avoids the need for
the use of emrun.
2018-12-28 22:08:53 +10:00
David Reid 1bb35612c1 Update Emscripten readme and build batch file. 2018-12-28 22:04:01 +10:00
David Reid a102ae0764 Fix a compiler error with Emscripten. 2018-12-28 22:03:32 +10:00
David Reid bd557bbf33 Add Web Audio to the list of backends. 2018-12-28 21:29:12 +10:00
David Reid 8fe0cf9a75 Fix a typo. 2018-12-28 21:27:29 +10:00
David Reid eb4ee0b1d7 Update test program. 2018-12-28 21:25:26 +10:00
David Reid f5f2749802 Get initial work on the Web Audio backend working. 2018-12-28 21:20:32 +10:00
David Reid 21f509c3ba Update Web Audio test web page. 2018-12-28 21:19:57 +10:00
David Reid 5a8d786c7d Fix compiler errors with the Web Audio backend. 2018-12-26 17:42:48 +10:00
David Reid 2eb6b39a4f Fix build of the test_0. 2018-12-26 17:42:24 +10:00
David Reid a9852f3e1f Start version controlling a Web Audio test web page. 2018-12-26 11:54:43 +10:00
David Reid 73df4bba58 Add some boilerplate for the Web Audio backend. 2018-12-26 11:50:00 +10:00
David Reid 7a2a2a404b Misc. updates to the new resampler. 2018-12-22 10:29:21 +10:00
David Reid 2407933fb8 Add some asserts and validation checks to the OpenSL backend. 2018-12-17 20:27:54 +10:00
David Reid 647a61e664 Simplify device starting and stopping. 2018-12-17 19:39:43 +10:00
David Reid 0694af4032 Update external libs. 2018-12-16 21:30:18 +10:00
David Reid d8c9057bc8 Add support for custom weights to the channel router. 2018-12-16 13:25:40 +10:00
David Reid ae7097303f Add rectangle channel mix mode which is an alias of planar_blend. 2018-12-16 08:19:58 +10:00
David Reid 560013b89b Prepare for update to new APIs of dr_* decoders. 2018-12-16 08:18:41 +10:00
David Reid ed1bcd1a99 OpenSL: Do not explicitly set the device state to stopped.
This change makes it consistent with iOS.
2018-12-14 18:52:45 +10:00
David Reid 666f39c93f Initial work on a basic test program for the resampler.
This test will be replaced later with something better.
2018-12-10 20:56:30 +10:00
David Reid c8ba70cc35 Bug fixes for the new resampler. 2018-12-10 20:50:21 +10:00
David Reid 3fd31f29c1 Add quick and dirty s16 read implementations for the resampler. 2018-12-09 10:11:20 +10:00
David Reid 1a2445e887 Bug fixes for the new resampler. 2018-12-09 09:36:59 +10:00
David Reid b390ef9826 Add untested support for interleaved streams to the new resampler. 2018-12-09 08:04:01 +10:00
David Reid 640ce6c5f6 Change mal_interleave/deinterleave_pcm_frames to take a 64-bit count. 2018-12-09 08:01:11 +10:00
David Reid 79cbe52e3d Merge branch 'dev' of https://github.com/dr-soft/mini_al into dev 2018-12-08 12:56:50 +10:00
David Reid ac0e5592b7 Fix a bug on async backends where the device state is not set correctly. 2018-12-08 12:56:13 +10:00
David Reid 54ee487972 Minor tweaks to the resampler. 2018-12-08 10:44:02 +10:00
David Reid 621b68a2a6 Inline a few APIs for the new resampler. 2018-12-08 09:52:19 +10:00
David Reid 24c059acaf Finish initial untested work on mal_resampler_read().
This does not yet implement the filter backends. It only does the data
retrieval and buffer management part of it.
2018-12-08 09:44:51 +10:00
David Reid fa94ca033c Update VC++ project files. 2018-12-08 09:38:09 +10:00
David Reid 4d58137e31 Miscellaneous work on the new resampler.
The requirement for pointers to be aligned to MAL_SIMD_ALIGNMENT has
been dropped because it is adding too many complications to the
implementation.
2018-12-08 07:07:43 +10:00
David Reid b9ad5113b6 Bump version to 0.8.13 2018-12-04 18:33:09 +10:00
David Reid 58a280b840 Fix channel routing weights for back/left and back/right. 2018-12-01 07:37:27 +10:00
David Reid c3fcb64363 Core Audio: Fix some issues with channel maps. 2018-11-29 13:20:15 +10:00
David Reid 2082004852 Core Audio: Fix errors with channel mapping. 2018-11-28 21:33:39 +10:00
David Reid 3f0e5c58ef Merge branch 'dev' of https://github.com/dr-soft/mini_al into dev 2018-11-28 19:25:29 +10:00
David Reid e52e9f130d Core Audio: Fix a bug with device selection. 2018-11-28 19:25:08 +10:00
David Reid de4f88420f Bump version to 0.8.12 2018-11-27 19:13:35 +10:00
David Reid 7b22ceba74 Drop support for SDL 1.2. 2018-11-27 18:59:33 +10:00
David Reid 6e72abd445 Restrict resampling ratio to reasonable limits. 2018-11-25 10:07:27 +10:00
David Reid 34d88af652 Remove the passthrough algorithm from the resampler.
The rationale for this is that it's just useless - just not do
resampling at all if you don't need to!
2018-11-25 09:52:05 +10:00
David Reid e84283803b More prototyping work on the new resampler. 2018-11-25 09:48:24 +10:00
David Reid ad488a10f8 Fix warnings with the new resampler. 2018-11-24 15:33:42 +10:00
David Reid 6f634d7807 Fix compiler errors when debug output is enabled. 2018-11-24 15:32:59 +10:00
David Reid 5969348d44 Misc. work on the resampler. 2018-11-24 15:05:05 +10:00
David Reid 179efcb445 Core Audio: Set the device name correctly on iOS. 2018-11-24 11:16:26 +10:00
David Reid 54401981f6 Add some debug output to the SDL backend. 2018-11-23 19:33:56 +10:00
David Reid cdd36c674f Rename a define. 2018-11-21 21:19:56 +10:00