Commit Graph

  • 9038abefbd Work on making mal_device_stop() better defined regarding flushing. David Reid 2018-12-30 18:10:33 +10:00
  • cdc49541a2 API CHANGE: Move pUserData from device_init() to device_config_init(). David Reid 2018-12-30 17:29:03 +10:00
  • e762208c43 API CHANGE: Rename mal_dsp to mal_pcm_converter. David Reid 2018-12-30 16:56:54 +10:00
  • 161cfd2610 Remove a useless bit of state from mal_device. David Reid 2018-12-30 16:48:41 +10:00
  • eb3a5d94b8 Add some documentation for exclusive mode. David Reid 2018-12-30 15:15:18 +10:00
  • bbd1674de2 No exclusive mode for AAudio, OpenSL|ES and Web Audio. David Reid 2018-12-30 14:57:42 +10:00
  • 9b80030f00 Core Audio: Exclusive mode is not supported right now. David Reid 2018-12-30 14:48:14 +10:00
  • 46374763ca JACK: Return an error when exclusive mode is requested. David Reid 2018-12-30 14:44:54 +10:00
  • 1cb4d9d12e PulseAudio: Always fail if exclusive mode is requested. David Reid 2018-12-30 14:41:04 +10:00
  • b756bd674e DSound: Return error in get_device_info() if share mode not supported. David Reid 2018-12-30 14:20:59 +10:00
  • c3556a5d4c WinMM: Return error when exclusive mode is requested. David Reid 2018-12-30 14:18:09 +10:00
  • 931877e591 DirectSound: Updates to how shared mode is handled. David Reid 2018-12-30 14:14:13 +10:00
  • deeeb4b713 WASAPI: Don't fall back to shared mode if exclusive mode fails. David Reid 2018-12-30 14:08:12 +10:00
  • a19a858351 Update test_0. David Reid 2018-12-30 13:33:17 +10:00
  • 4afeda4b82 Remove the OpenAL backend. David Reid 2018-12-30 13:30:59 +10:00
  • 2e6c6e6655 Remove the SDL backend. David Reid 2018-12-30 13:27:18 +10:00
  • f17428de47 Remove an unnecessary global array. David Reid 2018-12-30 13:22:15 +10:00
  • 6a60208c6a API CHANGE: Change the order of the mal_backend enums to priority order. David Reid 2018-12-30 13:05:31 +10:00
  • 795e0fc829 Add a BUILDING section to the documentation section. David Reid 2018-12-30 11:52:41 +10:00
  • 68da610f4f Add definitions for common terms. David Reid 2018-12-30 11:46:16 +10:00
  • bebf17264c API CHANGE: Simplify result codes. David Reid 2018-12-30 11:11:41 +10:00
  • 17be86aa4c Updates profiling and dithering tests. David Reid 2018-12-30 11:04:10 +10:00
  • 1acb96ed22 Update test_0 for changes to the log callback. David Reid 2018-12-30 11:02:20 +10:00
  • c1c422d3ea Update dr_mp3. David Reid 2018-12-30 11:01:35 +10:00
  • 4f9f19c3d2 Change licensing to a choice of public domain or MIT-0 (No Attribution) David Reid 2018-12-30 09:49:36 +10:00
  • 3372de7db0 API CHANGE: Add log level to the log callback. David Reid 2018-12-30 09:45:30 +10:00
  • 0b8101e150 API CHANGE: Remove deprecated APIs. David Reid 2018-12-30 09:38:05 +10:00
  • 183d839865 Simplify sized types declarations. David Reid 2018-12-30 09:32:35 +10:00
  • fe1bc9807a Use block comments for major sections. David Reid 2018-12-30 09:28:44 +10:00
  • f223ea498b Update test_0. David Reid 2018-12-30 09:23:12 +10:00
  • 08f9cb21b5 API CHANGE: Rename sine wave reading APIs to f32 convention. David Reid 2018-12-30 09:22:59 +10:00
  • d0e29698fd Update simple playback example. David Reid 2018-12-30 09:19:36 +10:00
  • 76e3267c78 API CHANGE: Rename decoding APIs to "pcm_frames" convention. David Reid 2018-12-30 09:16:17 +10:00
  • 2aa05be5c6 Disable SDL on Emscripten to avoid compiler errors. David Reid 2018-12-29 16:24:40 +10:00
  • 36bd13742b Make FLAC decoding a bit more efficient for s16 and f32. David Reid 2018-12-29 16:01:28 +10:00
  • d8a0fd09c9 AAudio: Set the performance mode based on mini_al's performance profile David Reid 2018-12-29 15:48:17 +10:00
  • feccdedba5 Add AAudio to the readme and remove OpenAL and SDL. David Reid 2018-12-29 15:41:15 +10:00
  • 40b848113c Rename some functions. David Reid 2018-12-29 14:59:50 +10:00
  • 7e5c604863 Update documentation. David Reid 2018-12-29 14:55:27 +10:00
  • ec188f57c1 Merge branch 'aaudio' into dev David Reid 2018-12-29 14:22:40 +10:00
  • 76ca09c52f Web Audio: Call the onStop callback when the device is stopped. David Reid 2018-12-29 14:22:32 +10:00
  • 2ad6f67ba5 AAudio: Put the onStop callback in the right spot... David Reid 2018-12-29 13:53:28 +10:00
  • bfb1f07d72 AAudio: Call the onStop callback when the device is stopped. David Reid 2018-12-29 13:51:21 +10:00
  • 2c2c4c64bb AAudio: Remove dependency on AAudio.h. David Reid 2018-12-29 13:45:06 +10:00
  • b51bbe04b7 Initial work on the AAudio backend for Android. David Reid 2018-12-29 13:11:57 +10:00
  • f7c184ea79 Disable WASM in the test build script for Emscripten. David Reid 2018-12-28 22:08:53 +10:00
  • 1bb35612c1 Update Emscripten readme and build batch file. David Reid 2018-12-28 22:04:01 +10:00
  • a102ae0764 Fix a compiler error with Emscripten. David Reid 2018-12-28 22:03:32 +10:00
  • bd557bbf33 Add Web Audio to the list of backends. David Reid 2018-12-28 21:29:12 +10:00
  • 8fe0cf9a75 Fix a typo. David Reid 2018-12-28 21:27:29 +10:00
  • eb4ee0b1d7 Update test program. David Reid 2018-12-28 21:25:26 +10:00
  • f5f2749802 Get initial work on the Web Audio backend working. David Reid 2018-12-28 21:20:32 +10:00
  • 21f509c3ba Update Web Audio test web page. David Reid 2018-12-28 21:19:57 +10:00
  • 5a8d786c7d Fix compiler errors with the Web Audio backend. David Reid 2018-12-26 17:42:48 +10:00
  • 2eb6b39a4f Fix build of the test_0. David Reid 2018-12-26 17:42:24 +10:00
  • a9852f3e1f Start version controlling a Web Audio test web page. David Reid 2018-12-26 11:54:43 +10:00
  • 73df4bba58 Add some boilerplate for the Web Audio backend. David Reid 2018-12-26 11:50:00 +10:00
  • 7a2a2a404b Misc. updates to the new resampler. David Reid 2018-12-22 10:29:21 +10:00
  • 2407933fb8 Add some asserts and validation checks to the OpenSL backend. David Reid 2018-12-17 20:27:54 +10:00
  • 647a61e664 Simplify device starting and stopping. David Reid 2018-12-17 19:39:43 +10:00
  • 0694af4032 Update external libs. David Reid 2018-12-16 21:30:18 +10:00
  • d8c9057bc8 Add support for custom weights to the channel router. David Reid 2018-12-16 13:25:40 +10:00
  • ae7097303f Add rectangle channel mix mode which is an alias of planar_blend. David Reid 2018-12-16 08:19:58 +10:00
  • 560013b89b Prepare for update to new APIs of dr_* decoders. David Reid 2018-12-16 08:18:41 +10:00
  • ed1bcd1a99 OpenSL: Do not explicitly set the device state to stopped. David Reid 2018-12-14 18:52:45 +10:00
  • 666f39c93f Initial work on a basic test program for the resampler. David Reid 2018-12-10 20:56:30 +10:00
  • c8ba70cc35 Bug fixes for the new resampler. David Reid 2018-12-10 20:50:21 +10:00
  • 3fd31f29c1 Add quick and dirty s16 read implementations for the resampler. David Reid 2018-12-09 10:11:20 +10:00
  • 1a2445e887 Bug fixes for the new resampler. David Reid 2018-12-09 09:36:59 +10:00
  • b390ef9826 Add untested support for interleaved streams to the new resampler. David Reid 2018-12-09 08:04:01 +10:00
  • 640ce6c5f6 Change mal_interleave/deinterleave_pcm_frames to take a 64-bit count. David Reid 2018-12-09 08:01:11 +10:00
  • 79cbe52e3d Merge branch 'dev' of https://github.com/dr-soft/mini_al into dev David Reid 2018-12-08 12:56:50 +10:00
  • ac0e5592b7 Fix a bug on async backends where the device state is not set correctly. David Reid 2018-12-08 12:56:13 +10:00
  • 54ee487972 Minor tweaks to the resampler. David Reid 2018-12-08 10:44:02 +10:00
  • 621b68a2a6 Inline a few APIs for the new resampler. David Reid 2018-12-08 09:52:19 +10:00
  • 24c059acaf Finish initial untested work on mal_resampler_read(). David Reid 2018-12-08 09:44:51 +10:00
  • fa94ca033c Update VC++ project files. David Reid 2018-12-08 09:38:09 +10:00
  • 4d58137e31 Miscellaneous work on the new resampler. David Reid 2018-12-08 07:07:43 +10:00
  • b9ad5113b6 Bump version to 0.8.13 David Reid 2018-12-04 18:33:09 +10:00
  • 58a280b840 Fix channel routing weights for back/left and back/right. David Reid 2018-12-01 07:37:27 +10:00
  • c3fcb64363 Core Audio: Fix some issues with channel maps. David Reid 2018-11-29 13:20:15 +10:00
  • 2082004852 Core Audio: Fix errors with channel mapping. David Reid 2018-11-28 21:33:39 +10:00
  • 3f0e5c58ef Merge branch 'dev' of https://github.com/dr-soft/mini_al into dev David Reid 2018-11-28 19:25:29 +10:00
  • e52e9f130d Core Audio: Fix a bug with device selection. David Reid 2018-11-28 19:25:08 +10:00
  • de4f88420f Bump version to 0.8.12 David Reid 2018-11-27 19:13:35 +10:00
  • 7b22ceba74 Drop support for SDL 1.2. David Reid 2018-11-27 18:59:33 +10:00
  • 6e72abd445 Restrict resampling ratio to reasonable limits. David Reid 2018-11-25 10:07:27 +10:00
  • 34d88af652 Remove the passthrough algorithm from the resampler. David Reid 2018-11-25 09:52:05 +10:00
  • e84283803b More prototyping work on the new resampler. David Reid 2018-11-25 09:48:24 +10:00
  • ad488a10f8 Fix warnings with the new resampler. David Reid 2018-11-24 15:33:42 +10:00
  • 6f634d7807 Fix compiler errors when debug output is enabled. David Reid 2018-11-24 15:32:59 +10:00
  • 5969348d44 Misc. work on the resampler. David Reid 2018-11-24 15:05:05 +10:00
  • 179efcb445 Core Audio: Set the device name correctly on iOS. David Reid 2018-11-24 11:16:26 +10:00
  • 54401981f6 Add some debug output to the SDL backend. David Reid 2018-11-23 19:33:56 +10:00
  • cdd36c674f Rename a define. David Reid 2018-11-21 21:19:56 +10:00
  • d18123b604 ALSA: Make runtime linking more robust. David Reid 2018-11-21 21:03:11 +10:00
  • 86a021bf5d Resampler: Make a distinction between frame counts and time. David Reid 2018-11-21 20:30:15 +10:00
  • ca3abb63be Bump version. David Reid 2018-11-21 18:29:41 +10:00
  • 243081d7c4 Silence a VC++ warning. David Reid 2018-11-21 12:18:47 +10:00
  • 706eaa0421 OpenAL/iOS: Drop support for capture on iOS with OpenAL. David Reid 2018-11-20 20:30:54 +10:00