Commit Graph

1015 Commits

Author SHA1 Message Date
David Reid a6cd93401d Version 0.10.30 2021-01-10 22:42:17 +10:00
David Reid 67863c48f3 Fix a crash in ma_audio_buffer_read_pcm_frames(). 2021-01-10 17:18:21 +10:00
David Reid 4f96309cbf Add experimental loop detection to the routing system. 2021-01-06 19:06:39 +10:00
David Reid 5478074840 Update revision history. 2021-01-03 18:23:43 +10:00
David Reid 816a5a34dd Add ma_offset_pcm_frames_{const_}ptr_f32.
This also silences a warning on GCC.
2021-01-03 18:08:29 +10:00
David Reid 8fc8d25bcd Qualify spinlock parameters as volatile. 2021-01-02 16:37:57 +10:00
David Reid d533bb4558 Update revision history. 2020-12-30 07:29:18 +10:00
Jérémy Masclaux 7b24f95fe0 Remove some warnings (warning C4100: unreferenced formal parameter) 2020-12-29 17:49:21 +01:00
David Reid 8f675e6c31 Version 0.10.29 2020-12-26 18:09:28 +10:00
David Reid 4e9becd5b3 Update dr_flac and dr_mp3. 2020-12-26 18:04:14 +10:00
David Reid daac3d3412 Update revision history. 2020-12-24 21:44:09 +10:00
David Reid 9cb1925c37 Fix a bug resulting in superfluous allocations with device enumeration.
Public issue https://github.com/mackron/miniaudio/issues/251
2020-12-24 21:19:31 +10:00
David Reid 18314d6afc Update revision history. 2020-12-22 21:12:50 +10:00
David Reid 10049067e7 Core Audio: Fix some compilation errors on iOS. 2020-12-22 17:59:05 +10:00
David Reid 5a8c88d129 Core Audio: Try fixing a possible re-routing bug.
Public issue https://github.com/mackron/miniaudio/issues/101
2020-12-22 17:25:59 +10:00
David Reid 1d0acd6a9c Update revision history. 2020-12-19 21:27:55 +10:00
David Reid bff79eb8c8 Fix some subtle multi-threading errors due to lacking atomic loads.
Public issue https://github.com/mackron/miniaudio/issues/237
2020-12-19 11:07:38 +10:00
David Reid db53994f7c Version 0.10.28 2020-12-16 20:39:26 +10:00
David Reid 101e811ead Minor clarification to documentation.
Public issue https://github.com/mackron/miniaudio/issues/247
2020-12-16 18:35:59 +10:00
David Reid ea6281fa93 Fix compilation errors with AAudio.
Public issue https://github.com/mackron/miniaudio/issues/247
2020-12-16 18:18:19 +10:00
David Reid 37cff3f075 Force runtime linking on AAudio for the moment.
Change of plans from the previous commit.
2020-12-15 21:53:21 +10:00
David Reid 4985c2e4cc AAudio: Add support for the MA_NO_RUNTIME_LINKING option. 2020-12-15 21:41:12 +10:00
David Reid 6c60953e9c Add support for MA_NO_RUNTIME_LINKING to the OpenSL backend.
Public issue https://github.com/mackron/miniaudio/issues/247
2020-12-15 19:44:43 +10:00
David Reid d9a95b08d8 Add some logging to context initialization.
Public issue https://github.com/mackron/miniaudio/issues/247
2020-12-15 18:32:21 +10:00
David Reid 21e7c4136a OpenSL: Add some extra logging to context initialization.
Public issue https://github.com/mackron/miniaudio/issues/247
2020-12-12 12:41:57 +10:00
David Reid 8c56989ed7 Update revision history. 2020-12-12 12:15:18 +10:00
David Reid a9c33d152e Fix a crash when initializing a POSIX thread.
Public issue https://github.com/mackron/miniaudio/issues/247
2020-12-12 12:14:14 +10:00
David Reid caad0bc436 Version 0.10.27 2020-12-04 20:21:29 +10:00
David Reid feb2abca94 Update c89atomic. 2020-12-04 19:31:14 +10:00
David Reid 06891a4f69 Update revision history. 2020-12-04 18:18:59 +10:00
David Reid 4cbe200b85 Use an atomic load on the master volume. 2020-12-04 18:07:11 +10:00
David Reid e8499f99bb Fix a typo in the previous commit. 2020-12-04 18:02:43 +10:00
David Reid 54ae032a11 Use atomics for getting/setting master volume.
Public issue https://github.com/mackron/miniaudio/issues/237
2020-12-04 17:56:44 +10:00
David Reid 2e23d86398 Update c89atomic. 2020-12-04 17:51:53 +10:00
David Reid ff53646549 Fix a typo. 2020-12-04 17:12:02 +10:00
David Reid ae9449cdba Update dr_mp3. 2020-12-03 17:49:14 +10:00
David Reid 40fbbdd02c Fix a bug in the decoder due to using an uninitialized variable. 2020-12-03 17:45:11 +10:00
David Reid 8669f2001e Update dr_mp3. 2020-12-02 19:20:06 +10:00
David Reid c4a07602c6 Update dr_wav. 2020-12-02 18:12:47 +10:00
David Reid 9ce20dc12c Silence some static analysis warnings. 2020-12-02 17:58:55 +10:00
David Reid 929e70a544 Fix some static analaysis warnings. 2020-12-02 17:43:23 +10:00
David Reid 1cda7c730b Merge pull request #236 from edubart/fix-pa-data-race
Fix data race on pulseaudio startup
2020-12-01 20:43:32 +10:00
David Reid 9972c8c83b Fix some data races and deadlocks in the null backend.
This commit also fixes an error where the onDeviceStop callback would
get called twice for synchronous backend.
2020-12-01 20:31:15 +10:00
Eduardo Bart 8004aa1af8 Fix data race on pulseaudio startup 2020-12-01 06:07:44 -03:00
David Reid ba7be0d4a9 Fix a warning in PulseAudio when stopping the device. 2020-11-30 21:17:42 +10:00
David Reid 07c7aa80dc Fix some data races in the null backend. 2020-11-30 21:15:24 +10:00
David Reid 1fb975e75b Another potential fix for a data race error with PulseAudio.
Public issue https://github.com/mackron/miniaudio/issues/235
2020-11-30 20:45:55 +10:00
David Reid 54f1f48009 Fix another data race with PulseAudio.
Public issue https://github.com/mackron/miniaudio/issues/235
2020-11-30 20:38:33 +10:00
David Reid 50c9081b19 Fix some data race errors in the PulseAudio backend.
Public issue https://github.com/mackron/miniaudio/issues/235
2020-11-30 20:10:32 +10:00
David Reid 6ac68d44e8 Add support for configuring the channel mixing mode for devices.
This commit also fixes a bug with simple mixing mode.
2020-11-29 09:20:21 +10:00