Commit Graph

666 Commits

Author SHA1 Message Date
David Reid a551e58737 Add notes for iOS. 2018-07-02 22:20:17 +10:00
David Reid 1ad3883e87 Core Audio: Add initial support for iOS. 2018-07-02 21:36:47 +10:00
David Reid 5768862f2b Update revision history. 2018-07-01 20:26:07 +10:00
David Reid bb904ae6b9 Update readme. 2018-07-01 20:14:49 +10:00
David Reid d52e710b7d Core Audio: Remove the requirement to link to AudioToolbox. 2018-07-01 19:47:10 +10:00
David Reid 6ce416bb2a Core Audio: Remove requirement to link to CoreAudio. 2018-07-01 19:28:39 +10:00
David Reid df2c0239bb Core Audio: Remove requirement to link to CoreFoundation. 2018-07-01 18:50:53 +10:00
David Reid df58a2e458 Remove a stale comment. 2018-07-01 18:23:15 +10:00
David Reid 8b6caeb08a Core Audio: Consistency fixes. 2018-07-01 18:16:46 +10:00
David Reid 3efb8896ca Core Audio: Use a callback for the onStop event. 2018-07-01 18:13:34 +10:00
David Reid 19be46de60 Core Audio: Remove the old AudioQueue implementation. 2018-07-01 17:54:58 +10:00
David Reid 50c997f88f Core Audio: Implement AudioUnit backend to replace AudioQueue. 2018-07-01 17:44:00 +10:00
David Reid 08bf805495 Yet more tweaks to the Core Audio backend. 2018-06-30 22:40:43 +10:00
David Reid 9af45f3b82 More tweaks to the Core Audio backend. 2018-06-30 22:12:22 +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 1e9e2759b7 Add examples build script for Mac. 2018-06-30 19:28:58 +10:00
David Reid be2b31c0d7 Core Audio: Set up infrastructure for runtime linking. 2018-06-30 19:09:38 +10:00
David Reid a69c975760 Fix SDL backend on Mac. 2018-06-30 18:23:26 +10:00
David Reid fa73b3f021 Core Audio: Tweaks to the run loop logic. 2018-06-30 18:09:56 +10:00
David Reid ee3848a000 Get audio working with Core Audio. 2018-06-30 17:33:16 +10:00
David Reid 41b9a1a6d3 More work on the Core Audio backend. 2018-06-24 20:23:11 +10:00
David Reid 3963b2dc3e Implement mal_context_get_device_info() for Core Audio. 2018-06-24 15:44:06 +10:00
David Reid df216733f2 Implement device enumeration for Core Audio. 2018-06-24 10:19:40 +10:00
David Reid f612438f00 Add some basic infrastructure for Core Audio. 2018-06-23 15:44:48 +10:00
David Reid 6458ab8c41 Update dr_flac. 2018-06-23 15:06:01 +10:00
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