Commit Graph

231 Commits

Author SHA1 Message Date
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
David Reid 59726df2c2 MAL_IMPLEMENTATION to MINI_AL_IMPLEMENTATION 2018-05-21 20:03:11 +10:00
David Reid 244db693e0 WASAPI: Start using experimental default buffer size system. 2018-05-03 18:48:20 +10:00
David Reid b73b27ad0e Update test. 2018-05-01 21:49:36 +10:00
David Reid d2aa50ec7b Update build script for RPI tests. 2018-04-30 10:42:15 +00:00
David Reid b4410ea438 Add NEON profiling test. 2018-04-30 10:41:17 +00:00
David Reid c6d68cec41 Add build script for RPI 2018-04-30 09:32:49 +00:00
David Reid 5041adcdf2 Add Digital Mars C++ detection to tests. 2018-04-30 18:17:03 +10:00
David Reid 9b5b777cab Improve compiler support. 2018-04-29 21:20:53 +10:00
David Reid f91bffde67 Update readme for tests. 2018-04-29 17:52:36 +10:00
David Reid e07e02323e Update build scripts for tests. 2018-04-29 16:51:53 +10:00
David Reid 9e14a9f8f8 Update tests. 2018-04-29 16:42:47 +10:00
David Reid b6e8fcb5f7 Update tests. 2018-04-29 16:24:17 +10:00
David Reid 859720ec2b Add helpers for initializing format converter configs. 2018-04-29 13:24:35 +10:00