Commit Graph

884 Commits

Author SHA1 Message Date
David Reid 76ca09c52f Web Audio: Call the onStop callback when the device is stopped. 2018-12-29 14:22:32 +10:00
David Reid 2ad6f67ba5 AAudio: Put the onStop callback in the right spot... 2018-12-29 13:53:28 +10:00
David Reid bfb1f07d72 AAudio: Call the onStop callback when the device is stopped. 2018-12-29 13:51:21 +10:00
David Reid 2c2c4c64bb AAudio: Remove dependency on AAudio.h. 2018-12-29 13:45:06 +10:00
David Reid b51bbe04b7 Initial work on the AAudio backend for Android.
This backend is the new priority backend for Android.
2018-12-29 13:11:57 +10:00
David Reid a102ae0764 Fix a compiler error with Emscripten. 2018-12-28 22:03:32 +10:00
David Reid bd557bbf33 Add Web Audio to the list of backends. 2018-12-28 21:29:12 +10:00
David Reid f5f2749802 Get initial work on the Web Audio backend working. 2018-12-28 21:20:32 +10:00
David Reid 5a8d786c7d Fix compiler errors with the Web Audio backend. 2018-12-26 17:42:48 +10:00
David Reid 73df4bba58 Add some boilerplate for the Web Audio backend. 2018-12-26 11:50:00 +10:00
David Reid 2407933fb8 Add some asserts and validation checks to the OpenSL backend. 2018-12-17 20:27:54 +10:00
David Reid 647a61e664 Simplify device starting and stopping. 2018-12-17 19:39:43 +10:00
David Reid d8c9057bc8 Add support for custom weights to the channel router. 2018-12-16 13:25:40 +10:00
David Reid ae7097303f Add rectangle channel mix mode which is an alias of planar_blend. 2018-12-16 08:19:58 +10:00
David Reid 560013b89b Prepare for update to new APIs of dr_* decoders. 2018-12-16 08:18:41 +10:00
David Reid ed1bcd1a99 OpenSL: Do not explicitly set the device state to stopped.
This change makes it consistent with iOS.
2018-12-14 18:52:45 +10:00
David Reid 640ce6c5f6 Change mal_interleave/deinterleave_pcm_frames to take a 64-bit count. 2018-12-09 08:01:11 +10:00
David Reid 79cbe52e3d Merge branch 'dev' of https://github.com/dr-soft/mini_al into dev 2018-12-08 12:56:50 +10:00
David Reid ac0e5592b7 Fix a bug on async backends where the device state is not set correctly. 2018-12-08 12:56:13 +10:00
David Reid b9ad5113b6 Bump version to 0.8.13 2018-12-04 18:33:09 +10:00
David Reid 58a280b840 Fix channel routing weights for back/left and back/right. 2018-12-01 07:37:27 +10:00
David Reid c3fcb64363 Core Audio: Fix some issues with channel maps. 2018-11-29 13:20:15 +10:00
David Reid 2082004852 Core Audio: Fix errors with channel mapping. 2018-11-28 21:33:39 +10:00
David Reid 3f0e5c58ef Merge branch 'dev' of https://github.com/dr-soft/mini_al into dev 2018-11-28 19:25:29 +10:00
David Reid e52e9f130d Core Audio: Fix a bug with device selection. 2018-11-28 19:25:08 +10:00
David Reid de4f88420f Bump version to 0.8.12 2018-11-27 19:13:35 +10:00
David Reid 7b22ceba74 Drop support for SDL 1.2. 2018-11-27 18:59:33 +10:00
David Reid 6f634d7807 Fix compiler errors when debug output is enabled. 2018-11-24 15:32:59 +10:00
David Reid 179efcb445 Core Audio: Set the device name correctly on iOS. 2018-11-24 11:16:26 +10:00
David Reid 54401981f6 Add some debug output to the SDL backend. 2018-11-23 19:33:56 +10:00
David Reid d18123b604 ALSA: Make runtime linking more robust. 2018-11-21 21:03:11 +10:00
David Reid ca3abb63be Bump version. 2018-11-21 18:29:41 +10:00
David Reid 243081d7c4 Silence a VC++ warning. 2018-11-21 12:18:47 +10:00
David Reid 706eaa0421 OpenAL/iOS: Drop support for capture on iOS with OpenAL. 2018-11-20 20:30:54 +10:00
David Reid dc8c93ff1d iOS: Output sound to speakers instead of receiver by default. 2018-11-20 18:42:40 +10:00
David Reid 58b49fdbb9 Potential fix for an initialization error with OpenAL. 2018-11-19 20:48:16 +10:00
David Reid 2bf617fbc5 Core Audio: Potential bug fix for incorrect playback and capture. 2018-11-19 18:20:30 +10:00
David Reid 523e745fca Remove a useless statement. 2018-11-18 21:17:32 +10:00
David Reid aacc560fab Add a backend nuance note for PulseAudio. 2018-11-18 16:15:38 +10:00
David Reid eab33043f2 Add more debug output. 2018-11-18 15:26:17 +10:00
David Reid 2735ee47ce PulseAudio: Update the buffer attributes when the format changes. 2018-11-17 18:29:39 +10:00
David Reid 0514012980 PulseAudio: Try using fixed format, rate and channels. 2018-11-17 17:30:44 +10:00
David Reid c11524d287 Remove some old code. 2018-11-17 17:21:35 +10:00
David Reid a440195b2e Small debug output tweak. 2018-11-17 17:20:51 +10:00
David Reid 054ef1239c PulseAudio: Tweak buffer attributes. 2018-11-17 17:19:30 +10:00
David Reid 714c31839c Add some debug output. 2018-11-17 16:17:28 +10:00
David Reid 80e07775e2 Fix a typo with debug output. 2018-11-17 15:42:06 +10:00
David Reid db33254ceb Core Audio: Send silence to the client in unsupported cases. 2018-11-17 13:24:56 +10:00
David Reid ba12e1d7bc Potential fixes for Core Audio. 2018-11-17 13:08:03 +10:00
David Reid 496ccdfcee Fix a timing bug with the null backend. 2018-11-15 20:11:48 +10:00