Commit Graph

2078 Commits

Author SHA1 Message Date
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
David Reid 1b3f32c0a1 Language rewording. 2020-07-17 19:41:14 +10:00
David Reid 5f18131f57 Updates to documentation. 2020-07-17 19:06:14 +10:00
David Reid b80f7f9491 Version 0.10.15 2020-07-15 18:39:35 +10:00
David Reid 99d99680ef Update dr_wav. 2020-07-15 18:33:48 +10:00
David Reid 868a153d01 Another fix for converting bit-masked channel maps to miniaudio format.
Public issue: https://github.com/dr-soft/miniaudio/issues/177
2020-07-15 13:46:26 +10:00
David Reid b16ff11e4c Fix a bug when converting bit-masked channel maps to miniaudio format.
Public issue: https://github.com/dr-soft/miniaudio/issues/177
2020-07-15 09:11:13 +10:00
David Reid b9362d8fa4 Version 0.10.14 2020-07-14 17:34:18 +10:00
David Reid 07bc119a1f Try fixing compilation errors with -march=armv6.
Public issue https://github.com/dr-soft/miniaudio/issues/176
2020-07-13 15:12:51 +10:00
David Reid b4f490a1e8 Fix compilation errors on Android. 2020-07-13 07:51:21 +10:00