Commit Graph

1755 Commits

Author SHA1 Message Date
David Reid 6d711053db Add MA_API decorations.
Public issue https://github.com/dr-soft/miniaudio/issues/139
2020-03-08 08:08:19 +10:00
David Reid ef2a27b453 Fix some typos in documentation. 2020-03-08 06:13:42 +10:00
David Reid 0a4a2b1119 Fix typo in release notes for 0.10. 2020-03-07 14:11:32 +10:00
David Reid d1a166c83a Version 0.10.0 2020-03-07 13:37:21 +10:00
David Reid f2934b135f Core Audio: Fix warnings for non-Desktop Apple platforms. 2020-03-07 11:50:09 +10:00
David Reid 80db8d96fc sndio: Fix a bug when retrieving the best sample format. 2020-03-07 10:54:30 +10:00
David Reid 000180baf4 Silence a warning on the Emscripten build. 2020-03-07 10:16:53 +10:00
David Reid 2344405606 Minor documentation update. 2020-03-07 08:08:53 +10:00
David Reid 4efbb28699 Minor documentation improvements. 2020-03-05 21:13:49 +10:00
David Reid b1d4e9a033 Fix some warnings. 2020-03-03 18:59:51 +10:00
David Reid b8b228a9da Fix a bug in WASAPI where an empty message could be logged. 2020-03-01 11:31:51 +10:00
David Reid 79cca305d9 Minor rewording to documentation. 2020-03-01 07:20:01 +10:00
David Reid 6785f777a4 Fix typos. 2020-03-01 06:54:16 +10:00
David Reid 144a8e47fb Update release notes. 2020-02-29 19:30:51 +10:00
David Reid 02620ad059 Overhaul result codes and how they're propagated.
If you're a binding maintainer you will need to update to use the new
result codes.
2020-02-29 16:39:02 +10:00
David Reid f57f78d4bf Update revision history. 2020-02-29 12:17:18 +10:00
David Reid bff8c83ed9 Improve result codes when opening a file. 2020-02-29 12:11:23 +10:00
David Reid 3cb9622a96 Add more results codes in preparation for future work. 2020-02-29 11:59:11 +10:00
David Reid a90131d843 Improvements to high order low- and high-pass filters.
This changes the Q value of the chain of second order low-pass filters
making up the high order filters. Previously the Q value was always set
to 0.707107 for the entire chain, but this is incorrect for Butterworth
filters when the order is greater than 2.

This should make a small improvement to the quality of the linear
resampler.
2020-02-29 10:14:44 +10:00
David Reid 163286be2c Add support for configuring the Q parameter of biquad based filters.
This is in preparation for improving ma_lpf, ma_hpf and ma_bpf to make
them proper Butterworth filters.
2020-02-28 20:48:50 +10:00
David Reid 5bcfda1462 Minor restructuring for consistency. 2020-02-28 19:31:18 +10:00
David Reid 324118e8bc Process first order filters before second order in LPF and HPF filters. 2020-02-28 19:26:30 +10:00
David Reid 2a77b937cb Be more consistent when describing filters. 2020-02-28 19:24:02 +10:00
David Reid e563b19e2b Improvements to ma_tzcnt32(). 2020-02-27 18:42:45 +10:00
David Reid 2be437ea33 Update revision history. 2020-02-26 21:21:24 +10:00
David Reid 228094a9ac Add some brief documentation for the new filters. 2020-02-26 19:11:16 +10:00
David Reid 34120546ca Add documentation for the encoding API. 2020-02-26 18:01:01 +10:00
David Reid d26154ca36 Update release notes for filters. 2020-02-26 18:00:48 +10:00
David Reid 68556168b0 Update documentation to mention Brownian noise. 2020-02-25 19:09:54 +10:00
David Reid 479d36c2a1 Add support for Brownian noise. 2020-02-25 19:07:50 +10:00
David Reid 8c96ca4c55 Update documentation. 2020-02-25 17:29:59 +10:00
David Reid cf3fd4876f Add support for pink noise. 2020-02-24 20:22:14 +10:00
David Reid b1c4cfe5cc Remove some old testing code. 2020-02-24 17:27:08 +10:00
David Reid a5644d7295 Documentation fixes. 2020-02-24 17:25:49 +10:00
David Reid f305dc9890 Add second order high shelf filter. 2020-02-23 21:21:02 +10:00
David Reid 5b385670f3 Add second order low shelf filter. 2020-02-23 21:03:22 +10:00
David Reid b6d0591042 Minor restructuring. 2020-02-23 20:17:53 +10:00
David Reid f1abfccb52 Add second order notching filter. 2020-02-23 20:08:44 +10:00
David Reid 825cd23ae8 Add second order peaking EQ filter.
This API is called ma_peak.
2020-02-23 19:52:01 +10:00
David Reid b4e024a481 Update documentation. 2020-02-23 17:19:33 +10:00
David Reid 2fd71d3a7a Add an encoding API.
This API is called ma_encoder. Currently it only supports encoding to
WAV files, which is done via dr_wav.
2020-02-23 17:04:46 +10:00
David Reid 4d3dcb71bd Integrate the new LPF into the linear resampler. 2020-02-23 15:11:42 +10:00
David Reid 3edc03f931 Add ma_bpf with support for configuring the number of poles. 2020-02-23 14:46:32 +10:00
David Reid cda27514f0 Add ma_hpf with support for configuring the number of poles. 2020-02-23 14:07:48 +10:00
David Reid 2e1869ab1b Add 1-pole high pass filter. 2020-02-23 13:55:46 +10:00
David Reid a48c23a5a1 Minor restructuring. 2020-02-23 12:14:23 +10:00
David Reid a263cd9730 Add ma_lpf with support for configuring the number of poles. 2020-02-23 12:04:43 +10:00
David Reid e9234f8894 Rename ma_bpf to ma_bpf2. 2020-02-23 10:54:27 +10:00
David Reid 846b27908d Rename ma_hpf to ma_hpf2. 2020-02-23 10:50:34 +10:00
David Reid 22b958b471 Rename ma_lpf to ma_lpf2. 2020-02-23 10:48:15 +10:00