Commit Graph

840 Commits

Author SHA1 Message Date
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
David Reid 0a70fc033d Update dr_flac and dr_mp3. 2020-11-29 07:22:39 +10:00
David Reid 986a097757 A minor correction to documentation. 2020-11-28 22:38:40 +10:00
David Reid 211ce99a7b Add custom backends to the backend list. 2020-11-28 22:32:18 +10:00
David Reid 8456dc93c9 More formatting fixes to documentation. 2020-11-28 22:26:45 +10:00
David Reid 71a21b5e71 Add a clarifying comment about decoders being decoupled from devices. 2020-11-28 21:59:57 +10:00
David Reid d706a7549b Minor formatting change to documentation. 2020-11-28 21:53:01 +10:00
David Reid f400ccec8e Update c89atomic and fix some warnings. 2020-11-28 10:39:53 +10:00
David Reid 2d63e414fd Update revision history. 2020-11-28 10:05:09 +10:00
David Reid f2811d7fe3 Fix a bug where some output parameters are possibly left unset. 2020-11-28 09:59:02 +10:00
David Reid 61fed4c937 Fix a compilation warning and some minor formatting. 2020-11-28 08:33:46 +10:00
David Reid c454ef4163 Merge pull request #231 from MichealReed/dynamic_noise
added dynamic amplitude, seed, type to noise generation
2020-11-28 08:08:17 +10:00
David Reid e7940394b2 Fix some bugs with trying to access uninitialized variables. 2020-11-28 08:00:31 +10:00
Micheal Reed 54a80d6a1c whitespace/formatting 2020-11-25 11:05:33 -06:00
Micheal Reed c87ef42964 added dynamic amplitude, seed, type to noise generation 2020-11-25 11:03:43 -06:00
David Reid d6864c5ab5 Version 0.10.26 2020-11-24 17:56:22 +10:00
David Reid 992128da9f Update c89atomic. 2020-11-23 20:07:20 +10:00
David Reid 0b98fe1a6b WASAPI: Fix a bug with exclusive mode. 2020-11-23 17:23:53 +10:00
David Reid 5f43515a2c Update revision history. 2020-11-22 12:16:32 +10:00
David Reid e0564d636e Remove bitfields from public structures.
This commit also removes some debugging code accidentally left in from
the previous commit.
2020-11-22 12:07:52 +10:00
David Reid d8dea2891e Fix compilation with Digital Mars.
This also fixes a bug in the WASAPI backend. Thanks to Digital Mars for
picking that one up!
2020-11-22 11:44:16 +10:00
David Reid 827129f0d8 Update c89atomic. 2020-11-22 09:31:54 +10:00
David Reid db91bcca17 Whitespace. 2020-11-21 13:27:49 +10:00
David Reid 1900da3b2d Fix some warnings. 2020-11-21 10:21:33 +10:00
David Reid f8671d6933 Update external libraries. 2020-11-21 09:22:00 +10:00
David Reid 217f4cc354 Minor formatting change. 2020-11-21 08:24:10 +10:00