Commit Graph

766 Commits

Author SHA1 Message Date
David Reid d54116fcc3 Setup callbacks for the OSS backend. 2018-07-15 21:32:04 +10:00
David Reid e04d4e61b6 Setup callbacks for the DirectSound backend. 2018-07-15 21:28:39 +10:00
David Reid e06aa2aaf8 Setup callbacks for the WinMM backend. 2018-07-15 21:26:19 +10:00
David Reid 6b3a8db3bf Setup callbacks for the OpenAL backend. 2018-07-15 21:23:44 +10:00
David Reid a063e379c0 Setup callbacks for the NULL backend. 2018-07-15 21:21:23 +10:00
David Reid c72a79f25c Clean up for asynchronous backends. 2018-07-15 21:18:10 +10:00
David Reid 73af94d28e Const correctness. 2018-07-15 21:14:18 +10:00
David Reid 051808d512 Start using the new callback system with the Core Audio backend. 2018-07-15 21:02:54 +10:00
David Reid 668e418151 Start using the new callback system for the OpenSL backend. 2018-07-15 20:59:05 +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 5b11f5d0c1 Start using the new callback system with the SDL backend. 2018-07-15 20:39:29 +10:00
David Reid a3064276ca Add a flag for asynchronous backends.
The motivation for this change is to simplify and clean up the cross-
platform part of mini_al.
2018-07-15 20:10:49 +10:00
David Reid 577be8aef3 Convert WASAPI over to the new callback based backend system. 2018-07-15 19:55:06 +10:00
David Reid f67f623f17 Bump version. 2018-07-15 17:57:31 +10:00
David Reid 7040cffd42 Update dr_mp3. 2018-07-15 17:30:46 +10:00
David Reid 22fdc3a3cf Update revision history. 2018-07-15 15:49:13 +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 5b2b688b00 Try fixing a crackling bug with resampling when capturing. 2018-07-15 14:16:06 +10:00
David Reid 1b1ca9014a Fix a bug with sinc SRC. 2018-07-15 13:09:28 +10:00
David Reid b4237a51ba Fix build when disabling AVX2. 2018-07-15 13:01:12 +10:00
David Reid 99b867cb51 Use sinc instead of linear as the default SRC algorithm. 2018-07-14 21:39:38 +10:00
David Reid b250bcdf06 ALSA: Fix a potential infinite loop in MMAP mode. 2018-07-14 00:21:17 +00:00
David Reid 4f85fb8692 Merge branch 'dev' of https://github.com/dr-soft/mini_al into dev 2018-07-11 20:37:26 +10:00
David Reid efe9d9e0c2 Small improvements to Core Audio. 2018-07-11 20:37:18 +10:00
David Reid 15375deb61 Disconnect the temporary PulseAudio context. 2018-07-11 10:07:50 +00:00
David Reid 7d5e515d62 Fix a memory leak. 2018-07-11 10:03:44 +00:00
David Reid f9557f1396 JACK: Fail context init if JACK is unusable. 2018-07-11 10:01:06 +00:00
David Reid 3405d9d516 PulseAudio: Fail context init when PA is unusable. 2018-07-11 09:44:03 +00:00
David Reid 37d6bb6a6e Work on a fix for capture on macOS. 2018-07-09 21:24:24 +10:00
David Reid cd3d1f1230 Core Audio: Fix a bug where the internal callback is not called. 2018-07-07 10:27:06 +10:00
David Reid c438509bb2 Set the default log level. 2018-07-07 09:48:12 +10:00
David Reid b3d911b94d Fix a bug on macOS. 2018-07-07 09:32:55 +10:00
David Reid 45b48c250f Bump version. 2018-07-06 20:42:28 +10:00
David Reid 7e792b4b88 Fix build error when compiling as C++. 2018-07-06 19:49:49 +10:00
David Reid b512f3d399 Add build script for tests for macOS. 2018-07-06 19:43:11 +10:00
David Reid 9a0cd791b8 Fix a warning. 2018-07-06 18:47:45 +10:00
David Reid 3cced15578 Fix compilation error on Android builds. 2018-07-06 18:41:20 +10:00
David Reid 77c7488119 Bump version. 2018-07-05 23:10:05 +10:00
David Reid 3ed0f402f2 Update dr_flac. 2018-07-05 22:31:26 +10:00
David Reid dbd236dae7 Don't be so agressive with RPI buffer scaling. 2018-07-05 12:23:06 +00:00
David Reid 78e4de8b2c Silence a warning. 2018-07-05 21:53:58 +10:00
David Reid c25318d8cf Fix a crash relating to SIMD. 2018-07-05 19:53:40 +10:00
David Reid 6e3a0a4fe5 Update extras. 2018-07-05 18:26:12 +10:00
David Reid 89f8cd7043 Fix some compilation errors on compilers without __has_include. 2018-07-03 21:08:04 +10:00
David Reid 4d954419b2 Core Audio: Fixes to runtime linking. 2018-07-03 19:21:46 +10:00
David Reid b41e9ac34e Core Audio: Fix some warnings. 2018-07-03 18:25:01 +10:00
David Reid 3cc3bb0843 Core Audio: Try to make platform detection more robust. 2018-07-02 23:39:56 +10:00
David Reid f1b38ef0d9 Core Audio: Clean up. 2018-07-02 23:10:26 +10:00
David Reid 9a6351ed9d Update notes on iOS. 2018-07-02 22:40:16 +10:00
David Reid 36189adb08 Core Audio: Try fixing build on older versions of macOS. 2018-07-02 22:29:59 +10:00