Commit Graph

135 Commits

Author SHA1 Message Date
David Reid 39edf6d8ff Core Audio: Fix some issues with full duplex. 2019-09-28 17:26:25 +10:00
David Reid 1860292da6 Merge branch 'dev' of https://github.com/dr-soft/miniaudio into dev 2019-09-28 12:37:18 +10:00
David Reid 575009daa0 Core Audio: Fix bugs with automatic stream routing. 2019-09-28 12:21:19 +10:00
David Reid 677f6887fa Typo. 2019-09-28 07:31:37 +10:00
David Reid 6c5119f0b3 Update dr_flac. 2019-09-28 07:23:10 +10:00
David Reid ef1b32a89a Update revision history. 2019-09-19 22:03:52 +10:00
David Reid 3961c3e9e1 WASAPI: Only enable SRC_DEFAULT_QUALITY with AUTOCONVERTPCM. 2019-09-19 21:56:05 +10:00
David Reid d56171d861 WASAPI: Add support for configuring automatic SRC. 2019-09-19 21:24:40 +10:00
David Reid 81a65ce67f WASAPI: Disable auto-SRC when requesting default sample rate. 2019-09-18 17:47:46 +10:00
David Reid 1d04f03a85 WASAPI: Get WASAPI to perform automatic resampling. 2019-09-18 17:39:50 +10:00
David Reid 4ad67a666f Fix potential warnings when compiling with GCC. 2019-09-18 17:35:43 +10:00
David Reid 662246ce0b Update revision history. 2019-09-16 21:04:10 +10:00
David Reid 6ca22eb980 WASAPI: Fix a potential deadlock when starting a full duplex device. 2019-09-16 19:53:24 +10:00
David Reid 363f659351 Add yet more debug output to WASAPI. 2019-09-16 18:42:35 +10:00
David Reid 5645419cf3 Add more debug output for WASAPI. 2019-09-16 18:28:11 +10:00
David Reid ce05e5ed22 Add some debug output to the WASAPI backend. 2019-09-16 18:19:07 +10:00
David Reid c394fde2d9 Add some helper APIs for ring buffers.
* ma_rb_reset()
* ma_rb_available_read()
* ma_rb_available_write()
* ma_pcm_rb_reset()
* ma_pcm_rb_available_read()
* ma_pcm_rb_available_write()
2019-09-10 19:47:39 +10:00
David Reid 345ae4c288 Fix some find and replace errors. 2019-09-08 08:16:43 +10:00
David Reid cc685b88ca Experimental optimzations to mono/stereo channel conversion. 2019-08-31 08:02:25 +10:00
David Reid c221ba39a3 Version 0.9.7 2019-08-28 08:14:43 +10:00
David Reid 240aac8241 Update revision history. 2019-08-28 08:04:45 +10:00
David Reid fe19e4ccb7 Merge pull request #92 from kawa-yoiko/tiny-leaks
Fix a few tiny memory leaks
2019-08-27 22:02:27 +00:00
Shiqing c03716ba46 Fix a few tiny memory leaks 2019-08-28 01:06:28 +08:00
David Reid 7f3f0f4b6c WASAPI: Fix a deadlock in loopback mode when stopping the device.
This happens when stopping the device while nothing is being played and
is due to how WASAPI does not signal an event in loopback mode when
nothing is being played.
2019-08-27 18:54:09 +10:00
David Reid bfb19f2938 Experimental improvements for the ALSA backend. 2019-08-26 19:51:39 +10:00
David Reid 6f609beb1c Remove unused code. 2019-08-25 17:19:06 +10:00
David Reid c5e6a392b3 Refactoring work on the null backend. 2019-08-25 17:05:49 +10:00
David Reid fdae092101 Refactoring work on the WinMM backend. 2019-08-25 16:51:39 +10:00
David Reid 9156652844 Update revision history. 2019-08-25 16:37:57 +10:00
David Reid f656101349 Version 0.9.6 2019-08-04 08:16:03 +10:00
David Reid bca63039cb Update revision history. 2019-07-31 19:42:20 +10:00
David Reid 8c993a7123 Fix a couple of memory leaks. 2019-07-30 20:15:01 +10:00
David Reid 4b0305c656 Add some wide character versions of some string APIs. 2019-07-29 19:05:13 +10:00
David Reid e55143bc0a Add support for opening decoders using wide character paths. 2019-07-28 21:17:03 +10:00
David Reid 1e41c005a0 Try fixing a compiler error on VS 2010. 2019-07-28 16:26:00 +10:00
David Reid 336e842dad Rename a parameter for clarity. 2019-07-08 17:31:56 +10:00
David Reid 6b610f5cba Minor fixes to some comments. 2019-07-07 07:58:13 +10:00
David Reid 04ce7dd5ac Update release notes. 2019-07-04 21:09:17 +10:00
David Reid 413b59a393 Fix a crash in ma_convert_frames_ex(). 2019-07-04 20:28:00 +10:00
David Reid 2056a6b024 Whitespace. 2019-06-29 12:31:05 +10:00
David Reid 1140e56ecb PulseAudio: Try fixing an issue with delayed playback. 2019-06-27 18:39:18 +10:00
David Reid c31c0bb69a Add website to the top section. 2019-06-18 20:52:25 +10:00
David Reid 2c1a09d6b1 Make device state retrieval explicitly atomic. 2019-06-18 17:26:15 +10:00
David Reid d2cab99d5e Add declarations for ma_decoder_init_file_flac/vorbis/mp3. 2019-06-16 10:04:24 +10:00
David Reid c4f69699f0 Add some documentation for the data callback.
This clarifies that frameCount won't necessarily be exactly what the
client asked for when initializing the device.
2019-06-15 07:39:05 +10:00
David Reid 3567e930c7 Fix a leftover comment. 2019-06-11 17:28:30 +10:00
David Reid 35bb1d374d Update release notes. 2019-06-06 18:19:48 +10:00
David Reid a5ead5e337 Don't trigger an assert when starting/stopping the device. 2019-06-05 22:45:41 +10:00
David Reid 1818a9e12f Remove some old experimental code. 2019-06-05 17:48:55 +10:00
David Reid 8a6800493b Update revision history. 2019-05-21 17:39:29 +10:00