David Reid
7adf2f3bbc
Merge pull request #192 from Clownacy/dev
...
Fix some VC6/2003 errors
2020-08-29 14:50:17 +10:00
David Reid
f0a4b4533d
Use a more appropriate default format for FLAC decoders.
2020-08-29 09:31:43 +10:00
David Reid
f156baafca
Use a default instead of blank channel map by default.
...
This commit fixes an issue where the optimized mono expansion path is
never hit.
2020-08-29 09:18:50 +10:00
David Reid
f6fcbc7133
Fix an overflow bug in channel conversion.
2020-08-29 09:03:39 +10:00
David Reid
a8557e82da
Version 0.10.17
2020-08-28 20:36:58 +10:00
David Reid
18fd90c74f
Fix a bug in ma_audio_buffer_read_pcm_frames().
...
This was always returning the input frame count rather than the number
of frames processed.
2020-08-28 20:25:54 +10:00
David Reid
479e239e6d
Core Audio: Fix a bug with full-duplex mode.
...
Public issue https://github.com/dr-soft/miniaudio/issues/191
2020-08-27 17:50:08 +10:00
Clownacy
145520fabc
Use fallback when SetFilePointerEX unavailable
...
VC6 doesn't appear to have SetFilePointerEX, so fallback on
SetFilePointer instead. This matches-up with VC6 not supporting
64-bit fseek.
Visual Studio .NET 2003 supports it, however.
2020-08-26 00:27:28 +01:00
Clownacy
9f4efc258c
Fix some VC6/2003 errors
...
For whatever reason, neither compiler likes implicit casts between
`volatile unsigned int*` and `int*`.
2020-08-26 00:16:56 +01:00
David Reid
d83b3886a1
Update WAV codec.
2020-08-24 21:11:18 +10:00
David Reid
1ea2ee3caf
Update documentation.
2020-08-22 17:49:46 +10:00
David Reid
e34171fa31
Fix compilation error on Android.
2020-08-19 19:55:42 +10:00
David Reid
5310bdb0f4
Update revision history.
2020-08-17 17:46:23 +10:00
Pedro K Custodio
ac62b0a030
Include dr_wav if only one of MA_NO_DECODING or MA_NO_ENCODING is defined.
2020-08-16 13:50:47 +01:00
David Reid
fe85a13214
Add ma_decoder_get_cursor_in_pcm_frames().
2020-08-15 10:09:19 +10:00
David Reid
eea8ea9e2d
Version 0.10.16
2020-08-14 18:56:49 +10:00
David Reid
1f97a8138b
Update dr_flac.
2020-08-14 18:50:22 +10:00
David Reid
b61fc570a2
Fix a bug in ma_data_source_get_cursor/length_in_pcm_frames().
2020-08-14 10:57:53 +10:00
David Reid
775c624e66
Add some APIs to data sources:
...
* ma_data_source_get_cursor_in_pcm_frames()
* ma_data_source_get_length_in_pcm_frames()
When the data source has no notion of a cursor or length, these return
MA_NOT_IMPLEMENTED to let the caller know about it. This is returned
when a custom data source leaves these functions unimplemented.
ma_decoder, ma_audio_buffer, ma_waveform and ma_noise have all been
updated to support these new functions.
2020-08-09 22:29:11 +10:00
David Reid
76a43426de
Add sample rate to ma_data_source_get_data_format().
2020-08-09 07:27:41 +10:00
David Reid
764ebc5e1b
Change volume APIs to take 64-bit frame counts.
2020-08-08 19:29:10 +10:00
David Reid
6e017f7fe7
Add some APIs for ma_audio_buffer and ma_decoder.
...
* ma_audio_buffer_get_available_frames()
* ma_decoder_get_available_frames()
2020-08-08 12:14:18 +10:00
David Reid
6425fc643a
Update dr_wav, dr_flac and dr_mp3.
2020-08-02 11:53:41 +10:00
David Reid
4830c9f5b5
Update c89atomic.
2020-08-02 11:53:00 +10:00
David Reid
d0149a0374
Simplify sized types.
2020-08-02 09:15:40 +10:00
David Reid
b48d0dfbdd
WASAPI: A few tweaks for handling device changes.
2020-08-02 08:41:19 +10:00
David Reid
f947a75dbe
Silence a warning on VC6.
2020-08-01 12:03:02 +10:00
David Reid
5b50d07fe8
Update c89atomic.
2020-08-01 11:59:02 +10:00
David Reid
f6a4e33946
Clean up some code from an earlier commit.
2020-08-01 11:43:35 +10:00
David Reid
54fe965bc0
Fix some bugs in ma_data_source_read_pcm_frames()
...
* A crash when the pFramesRead parameter is null
* Looping not working due to MA_AT_END now being returned.
Public issue https://github.com/dr-soft/miniaudio/issues/185
2020-08-01 11:39:58 +10:00
David Reid
0a9f0c625c
WASAPI: Try fixing a deadlock when disabling a device.
...
Public issue https://github.com/dr-soft/miniaudio/issues/184
2020-08-01 10:51:03 +10:00
David Reid
11e488e1cc
Win32: Use better error detection for WaitForSingleObject().
2020-08-01 08:21:05 +10:00
David Reid
1aac650c46
Core Audio: Fix build errors on macOS.
2020-07-30 17:30:52 +10:00
David Reid
63aef51bfc
Fix a typo.
2020-07-29 19:24:10 +10:00
David Reid
7d055a44e5
Update revision history.
2020-07-29 18:30:50 +10:00
David Reid
cb542d29f5
OpenSL: Fix a multithreading bug in context init/uninit.
...
This should fix the case where multiple context's are initialized and
uninitialized at the same time across multiple threads.
2020-07-29 18:28:40 +10:00
David Reid
d2582f260e
OpenSL: Use runtime linking for libOpenSLES.
...
Public issues:
* https://github.com/dr-soft/miniaudio/issues/163
* https://github.com/dr-soft/miniaudio/issues/183
2020-07-29 18:18:05 +10:00
David Reid
3e0ad8dd42
Reword a comment.
2020-07-27 18:08:56 +10:00
David Reid
7d8f054a73
Documentation fix.
2020-07-25 16:18:54 +10:00
David Reid
380a9fbf09
Punctuation.
2020-07-25 16:16:57 +10:00
David Reid
6438162119
Documentation fix.
2020-07-25 16:03:08 +10:00
David Reid
b067926d6d
Update FLAC, MP3 and WAV decoders.
2020-07-25 15:42:50 +10:00
David Reid
854c824d7e
Update revision history.
2020-07-25 15:03:54 +10:00
David Reid
917dc594e4
Core Audio: Improvements to device enumeration on iOS.
2020-07-25 14:31:33 +10:00
David Reid
21043fd62d
Fix a compilation warning.
2020-07-25 12:51:17 +10:00
David Reid
b1894532af
Rewording to documentation.
2020-07-25 11:48:55 +10:00
David Reid
5bb15a8edc
Update dr_mp3.
2020-07-23 18:57:53 +10:00
David Reid
1a9675517a
Fix some compilation warnings.
2020-07-18 11:01:53 +10:00
David Reid
9fb8a1d876
WASAPI: Fix a potential crash due to using an uninitialized variable.
2020-07-18 09:09:08 +10:00
David Reid
bd7ed95d8c
Updates to documentation.
2020-07-17 20:07:47 +10:00