David Reid
b3d5842460
Update revision history.
2020-03-15 07:56:40 +10:00
Clownacy
b85a88089c
Fix Visual Studio .NET 2003 compatibility
...
Apparently `errno_t` doesn't exist here either?
2020-03-10 23:13:52 +00:00
Clownacy
cd38bc0573
Fix Visual Studio 6 compatibility
...
That last issue is annoying: `unsigned __int64` cannot be converted
to `double`, but `signed __int64` can. I'm not sure if using the
signed type in these cases instead is actually safe.
This is a much more common problem in dr_flac.
2020-03-10 21:37:40 +00:00
David Reid
6aa342560f
Fix some compilation warnings.
...
Public issue https://github.com/dr-soft/miniaudio/issues/139
2020-03-09 18:59:59 +10:00
David Reid
81a3f7172d
Fix unused parameter warnings on macOS.
2020-03-08 12:42:38 +10:00
David Reid
a5ee74ed91
Rearrange some includes.
...
Some headers are only required for the device IO API. This commit moves
these headers to the device IO section that they're excluded when
MA_NO_DEVICE_IO is set.
Public issue https://github.com/dr-soft/miniaudio/issues/138
2020-03-08 11:36:45 +10:00
David Reid
a1f902d1be
Minor formatting for improved readability.
2020-03-08 09:24:59 +10:00
David Reid
427f1f9930
Don't include pthread.h nor semaphore.h with MA_NO_DEVICE_IO.
...
Public issue https://github.com/dr-soft/miniaudio/issues/138
2020-03-08 09:15:34 +10:00
David Reid
c59ccbf5f8
Fix compilation warnings.
2020-03-08 09:12:45 +10:00
David Reid
ad4041e4e7
Remove MA_ALIGN.
2020-03-08 08:16:14 +10:00
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