Commit Graph

244 Commits

Author SHA1 Message Date
David Reid 1acb96ed22 Update test_0 for changes to the log callback. 2018-12-30 11:02:20 +10:00
David Reid f223ea498b Update test_0. 2018-12-30 09:23:12 +10:00
David Reid 2aa05be5c6 Disable SDL on Emscripten to avoid compiler errors. 2018-12-29 16:24:40 +10:00
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 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 21f509c3ba Update Web Audio test web page. 2018-12-28 21:19:57 +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 7a2a2a404b Misc. updates to the new resampler. 2018-12-22 10:29:21 +10:00
David Reid fa94ca033c Update VC++ project files. 2018-12-08 09:38:09 +10:00
David Reid e84283803b More prototyping work on the new resampler. 2018-11-25 09:48:24 +10:00
David Reid 26e9721077 Add early work on a new experimental resampler. 2018-11-18 14:33:23 +10:00
David Reid ad935b8108 Disable SDL on Linux for test_0. 2018-11-18 09:39:32 +10:00
David Reid 48eda94887 Don't pass -mavx2 in the batch file. 2018-08-26 11:01:00 +10:00
David Reid 62f2d6931c Fix the dithering example from the last commit. 2018-08-26 08:06:31 +10:00
David Reid 51fd450593 Enable debug output for the dithering test. 2018-08-26 07:57:55 +10:00
David Reid fadbcc31cb Update VS test project. 2018-08-18 20:14:35 +10:00
David Reid 614813b2e1 WASAPI: Implement stream routing.
With this change, mini_al will automatically switch the internal device
to that of the new default device when the user changes it via the
operating system's sound preferences.
2018-08-18 20:14:08 +10:00
David Reid a3cad4a8b9 Add unplugging test to VS project. 2018-08-16 18:39:33 +10:00
David Reid 13441af622 Add mal_sine_wave_read_ex(). 2018-08-12 10:03:31 +10:00
David Reid 22240e51b6 Add unplugging test. 2018-08-12 09:26:32 +10:00
David Reid 21e15a4ca1 Fix some errors with the previous commit. 2018-08-11 21:31:05 +10:00
David Reid d4916abdc9 Remove the experimental profiling based default buffer sizes.
The problem with this idea is that it complicates the buffer size
calculations in the backends. It also results in situations where
the buffer size is inconsistent which is annoying.

Future commits will be adding support for specifying the size of the
buffer in milliseconds which should offer more flexibility.
2018-08-11 08:56:59 +10:00
David Reid f57e03c574 Fix deadlock in example when a device is closed unexpectedly. 2018-07-30 07:13:51 +10:00
David Reid 1a6a47af41 WASAPI: Try fixing a glitching bug with capture. 2018-08-05 14:11:46 +10:00
David Reid 4ced551df8 Merge branch 'dev' of https://github.com/dr-soft/mini_al into dev 2018-08-05 12:17:46 +10:00
David Reid 8d15aa278c Update external libraries and fix C++ on older versions of GCC. 2018-08-05 12:16:56 +10:00
David Reid 7057f845c6 Initial work on sndio backend. 2018-07-29 23:15:04 +10:00
David Reid 6aa0b573dc Add support for disabling sigvis in the resampling test. 2018-07-28 18:00:19 +00:00
David Reid 13675cc121 Work on the audioio backend. 2018-07-28 11:42:37 +00:00
David Reid 48ecee6278 Add MAL_NO_DEVICE_IO option.
This option disables device playback and capture. This is useful if you
only need mini_al's decoding and/or decoding APIs.
2018-07-17 21:16:30 +10:00
David Reid 4f4530148a Start using the new callback system for the JACK backend. 2018-07-15 20:49:06 +10:00
David Reid 223c8e84d1 Add a quick and dirty test for resampling.
This will be cleaned up later. Maybe.
2018-07-15 14:17:01 +10:00
David Reid b3d911b94d Fix a bug on macOS. 2018-07-07 09:32:55 +10:00
David Reid b512f3d399 Add build script for tests for macOS. 2018-07-06 19:43:11 +10:00
David Reid c25318d8cf Fix a crash relating to SIMD. 2018-07-05 19:53:40 +10:00
David Reid 1eaf97d061 Update test to show a message when a device is stopped. 2018-06-30 20:47:48 +10:00
David Reid f612438f00 Add some basic infrastructure for Core Audio. 2018-06-23 15:44:48 +10:00
David Reid f9c406dc4a Merge branch 'dev' of https://github.com/dr-soft/mini_al into dev 2018-05-30 20:58:07 +10:00
David Reid 10f8649258 Small optimizations to f32 -> s16 conversion. 2018-05-30 20:06:09 +10:00
David Reid da4e05aee2 Fix build for main test program. 2018-05-29 19:30:50 +10:00
David Reid b419d2eafa Implement NEON optimizations for f32 -> s16 conversion. 2018-05-28 11:16:43 +00:00
David Reid dba808162d Update test build script to use AVX2 instead of AVX. 2018-05-27 21:10:03 +10:00
David Reid 6b988bbc97 Drop support for AVX and replace with AVX2.
Rationale for this is that it just makes things simpler for integer
operations.
2018-05-27 21:01:19 +10:00
David Reid ef2ad30080 Add AVX optimized f32 -> s16 conversion. 2018-05-27 20:21:41 +10:00
David Reid b2815ccf6b Add SSE2 optimized implementation of f32 -> s16 conversion. 2018-05-27 17:50:56 +10:00
David Reid a52f018776 Update profiling test to account for precision errors. 2018-05-26 16:48:19 +10:00
David Reid 22d7b7403a Initial work on SSE2 optimizations for sample rate conversion. 2018-05-26 16:29:14 +10:00