David Reid
dae1a040b3
Silence some warnings.
2020-05-01 18:23:58 +10:00
David Reid
135b098526
Improve VC6 compatibility for formatted logging.
...
Public issue https://github.com/dr-soft/miniaudio/issues/153
2020-05-01 18:01:36 +10:00
David Reid
07730e7a16
Fix a typo.
2020-04-29 07:34:50 +10:00
David Reid
e1f39d97a7
Fix compilation errors on older versions of Visual Studio.
...
Public issue https://github.com/dr-soft/miniaudio/issues/153
2020-04-28 13:16:59 +10:00
David Reid
0608fb1b0a
Minor documentation fixes.
2020-04-26 11:10:49 +10:00
David Reid
845ca22710
Update documentation for ma_decoder.
...
Public issue https://github.com/dr-soft/miniaudio/issues/152
2020-04-26 09:16:47 +10:00
David Reid
1ca969601f
Update revision history.
2020-04-26 08:47:21 +10:00
David Reid
6b375b3a02
Add MA_NO_GENERATION build option.
2020-04-26 08:42:18 +10:00
David Reid
2a765d6311
Move struct ma_lcg to a more appropriate location.
2020-04-26 08:39:57 +10:00
David Reid
5e8a299aa8
Add MA_NO_ENCODING to the Build Options section in documentation.
...
Public issue https://github.com/dr-soft/miniaudio/issues/151
2020-04-20 10:01:55 +10:00
Marco Lizza
66fad49e20
Fixing nanosleep() call on POSIX, wrongly converting milliseconds.
2020-04-12 22:53:36 +02:00
Marco Lizza
16207dd0fa
Fixing strict-protype warning.
2020-04-12 22:50:59 +02:00
David Reid
81a18ca6d9
Version 0.10.4
2020-04-12 10:42:38 +10:00
David Reid
755aef065e
Fix a bug when reading frames from the client.
2020-04-12 10:36:29 +10:00
David Reid
10988da584
Version 0.10.3
2020-04-07 18:09:54 +10:00
David Reid
41220f368d
Fix some warnings on some compilers.
2020-04-07 17:20:37 +10:00
David Reid
128f3965db
Remove an excess space.
2020-04-07 17:20:19 +10:00
David Reid
bc6e566225
Update revision history.
2020-04-07 14:33:59 +10:00
David Reid
87d2a3915f
Remove an unused member in ma_device.
2020-04-06 08:36:03 +10:00
David Reid
4265396703
Update release notes and revision history.
2020-04-05 10:23:56 +10:00
David Reid
ba906aee83
WASAPI: Add some overrun detection for ma_device_type_capture.
...
This is derived from the ma_device_type_duplex case. It basically
detects a possible overrun and drops some periods. The idea is to
prevent the buffer from indefinitely straddling the end of the buffer
and causing persistent glitching.
Public issue https://github.com/dr-soft/miniaudio/issues/81
2020-04-05 10:04:40 +10:00
David Reid
aedd11699e
Fix a bug where format conversion is unnecessarily being enabled.
2020-04-05 09:07:14 +10:00
David Reid
d46c1ee802
ALSA: Disable ALSA's automatic data conversion.
...
Public issue https://github.com/dr-soft/miniaudio/issues/146
2020-04-05 08:48:36 +10:00
David Reid
c433e02976
Fix compilation errors on GCC.
2020-04-05 08:43:48 +10:00
David Reid
31f49a7cca
Minor formatting change.
2020-04-04 14:41:03 +10:00
David Reid
f378577eac
Minor documentation fix.
2020-04-04 14:32:28 +10:00
David Reid
6bcf88d18e
Remove a small dependency on the Win32 API.
...
This was causing warnings on some older Visual Studio compilers.
2020-04-04 14:30:25 +10:00
David Reid
9fb37b2294
Add ma_post_log_messagev() and ma_post_log_messagef().
...
Public issue https://github.com/dr-soft/miniaudio/issues/145
2020-04-04 14:28:27 +10:00
David Reid
c11d82b863
Remove MA_NO_STDIO.
...
Yet another compilation error with this setting enabled. Now removing
this entirely because I'm tired of maintaining it for almost no
practical benefit.
2020-04-04 11:57:30 +10:00
David Reid
9b150474c8
Update revision history.
2020-04-04 11:46:27 +10:00
David Reid
47b17ad5fa
Update extras.
2020-04-04 11:30:05 +10:00
David Reid
457248806b
Use double-precision pi constant for ma_cos().
2020-03-28 10:39:20 +10:00
David Reid
b919464161
Fix a typo with a type declaration for lpf1 and lpf2.
2020-03-28 10:38:56 +10:00
David Reid
c858ef1569
Fix a warning in ma_wfopen().
2020-03-26 20:26:57 +10:00
David Reid
537a27ded6
Minor changes to ma_wfopen().
2020-03-26 17:28:03 +10:00
David Reid
f9032c55fb
Documentation fixes.
2020-03-23 20:03:40 +10:00
David Reid
4b45e1ef1b
Version 0.10.2
2020-03-22 19:02:38 +10:00
David Reid
e01fc7472b
Fix a bug in ma_linear_resampler_set_rate().
2020-03-21 09:06:07 +10:00
David Reid
7ac0f9f28a
Update revision history.
2020-03-18 07:40:43 +10:00
Clownacy
8bfad9ddd9
Mark some non-static functions as MA_API
2020-03-17 14:35:13 +00:00
David Reid
06e2f7c993
Version 0.10.1
2020-03-17 15:37:13 +10:00
David Reid
c9cc99141c
Minor formatting.
2020-03-17 07:14:01 +10:00
Krzysztof Kondrak
75e20452d9
Return proper result when fopen() fails.
2020-03-16 21:55:57 +01:00
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