Commit Graph

741 Commits

Author SHA1 Message Date
David Reid bd7d58d2d1 Fix some warnings. 2018-06-23 14:55:03 +10:00
David Reid 95004d1a52 Fix compilation error on Apple platforms. 2018-06-23 13:29:11 +10:00
David Reid 037073c95d Try to make timing a bit more robust. 2018-06-23 09:03:44 +10:00
David Reid 7a4816e16d Update dr_flac. 2018-06-14 19:21:10 +10:00
David Reid 0b996c0c53 Fix a bug with linear SRC. 2018-06-02 10:32:13 +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 ec3f56d8e7 Use AVX2 where AVX-512 has not yet been implemented. 2018-05-30 19:14:39 +10:00
David Reid da4e05aee2 Fix build for main test program. 2018-05-29 19:30:50 +10:00
David Reid 40abbc8d94 Plug SIMD-optimized conversion routines into mal_format_converter. 2018-05-29 18:49:10 +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 073e89e402 Implement NEON optimizations for SRC. 2018-05-27 01:56:49 +00:00
David Reid 6054b8a192 Clean up. 2018-05-27 10:50:40 +10:00
David Reid dfe27a64a8 Experimental work on AVX.
As of this commit there's no significant benefit.
2018-05-27 08:56:43 +10:00
David Reid a52f018776 Update profiling test to account for precision errors. 2018-05-26 16:48:19 +10:00
David Reid a8e27fc627 Silence some strict aliasing warnings on GCC. 2018-05-26 16:47:56 +10:00
David Reid 22d7b7403a Initial work on SSE2 optimizations for sample rate conversion. 2018-05-26 16:29:14 +10:00
David Reid 5dafa54f80 Use Tau instead of 2*pi. 2018-05-25 18:57:54 +10:00
David Reid 20e4813753 Improvements to mal_calculate_cpu_speed_factor(). 2018-05-23 19:49:51 +10:00
David Reid 21962f53de Set up some infrastructure for SIMD optimizations. 2018-05-23 19:36:23 +10:00
David Reid 1fd432b8f3 Make mal_convert_frames() return consistent values. 2018-05-22 21:06:07 +10:00
David Reid eb7ac83beb Small tweaks to the SDL backend. 2018-05-22 20:36:53 +10:00
David Reid cea33534b9 Update extras. 2018-05-22 18:57:38 +10:00
David Reid 5501326db4 Make a few APIs public. 2018-05-21 20:19:52 +10:00
David Reid 59726df2c2 MAL_IMPLEMENTATION to MINI_AL_IMPLEMENTATION 2018-05-21 20:03:11 +10:00
David Reid 5c8c9b787d Changes to some helper APIs. 2018-05-21 19:24:54 +10:00
David Reid d020f0c521 Add some helpers for initializing an SRC config. 2018-05-21 19:05:34 +10:00
David Reid c10395865c Add sinc config settings to mal_dsp_config. 2018-05-21 18:54:04 +10:00
David Reid 8abcff4cec API CHANGE: Remove some redundant APIs. 2018-05-21 18:38:58 +10:00
David Reid 02e389157c Fixes to sinc SRC. 2018-05-20 15:15:10 +10:00
David Reid 1f9059965e Initial work on sinc sample rate conversion. 2018-05-20 10:28:07 +10:00
David Reid e01b60a889 Add support for decoding from raw PCM data. 2018-05-12 21:54:38 +10:00
David Reid ecf34e459d Minor update to sigvis. 2018-05-09 19:37:32 +10:00
David Reid 12ccfb3a5d Merge branch 'dev' of https://github.com/dr-soft/mini_al into dev 2018-05-09 18:28:21 +10:00
David Reid b401f7d4d2 Return a valid channel map when channel count is 0 for device configs. 2018-05-09 18:27:51 +10:00
David Reid 78ecf63af3 Clean up. 2018-05-07 15:26:20 +10:00
David Reid 39fff52a71 Early work on a basic signal visualization tool. 2018-05-07 14:33:33 +10:00
David Reid 401411911c WASAPI: Fix a bug with stopping and restarting devices. 2018-05-06 19:55:20 +10:00
David Reid c95710c612 Fix C++ build error. 2018-05-05 08:44:58 +10:00
David Reid 757a4c1260 Merge branch 'dev' of https://github.com/dr-soft/mini_al into dev 2018-05-05 06:41:02 +10:00
David Reid 986dac45b6 Documentation and clean up. 2018-05-05 06:40:32 +10:00
David Reid 11d23efcf6 Tweaks to the Raspberry Pi build. 2018-05-04 09:14:32 +00:00
David Reid c10cdc0c18 Update readme. 2018-05-03 21:12:53 +10:00
David Reid 1d67c440fa Don't use Pulse or JACK on BSD.
In my testing, PulseAudio is terrible on BSD. Just disabling this since
OSS seems quite good.
2018-05-03 20:41:17 +10:00
David Reid d03de64843 Clean up. 2018-05-03 20:29:27 +10:00
David Reid a7876da79d Experiments with improved default buffer sizes. 2018-05-03 20:19:56 +10:00