Commit Graph

43 Commits

Author SHA1 Message Date
David Reid c371291510 Update change history. 2023-01-03 19:16:09 +10:00
David Reid 69e70c1c98 Update change history. 2022-12-28 07:38:39 +10:00
David Reid 3167935864 Update changes. 2022-12-24 08:44:36 +10:00
David Reid 7bd319d9ee Fix a bug relating to changing the range of a data source.
The issue here is that the code is trying to maintain the absolute
position of the loop point. The problem with this is that the absolute
position of the loop points could fall outside the new range which
would then result in no audio being read.

This becomes an issue because it would effect data sources even when
the loop point was never actually explicitly set. From these users
perspective, changing the range completely breaks their audio.

The new system simply resets the loop points. This works for users who
are using the default loop points (the majority of cases). For those
who are explicitly setting a loop point, they simply need to reset
their loop points after changing the range. This is not really an
issue, because loop points are relative to the range, which means a
change in the range would most likely warrant a change in the loop
point anyway.
2022-12-24 08:05:56 +10:00
David Reid 49a95a326b Fix a bug with data source ranges.
Public issue https://github.com/mackron/miniaudio/discussions/596
2022-12-21 07:42:50 +10:00
David Reid bd1c156e5f Update change history. 2022-12-01 10:35:39 +10:00
David Reid 0ef02e01ee Update change history. 2022-11-22 16:37:30 +10:00
David Reid e531dd255e Remove the old runtime linking system for pthread. 2022-11-20 10:53:46 +10:00
David Reid 44e58d6038 Fix some bugs with initialization of POSIX threads. 2022-11-20 10:39:15 +10:00
David Reid c919bba095 Update change history. 2022-11-18 12:40:49 +10:00
David Reid 4f7f00d76a Fix a crash due to a race condition in the resource manager. 2022-11-13 11:23:27 +10:00
David Reid cbae25fca3 Update c89atomic in preparation for some changes to atomics. 2022-11-09 10:59:09 +10:00
David Reid a0dc1037f9 Version 0.11.11 2022-11-04 11:46:15 +10:00
David Reid 8999756b81 Update changes. 2022-11-04 11:16:26 +10:00
David Reid bec0aa748c Remove references to ccall() from the Emscripten build.
Public issue https://github.com/mackron/miniaudio/issues/569
2022-10-21 17:02:59 +10:00
David Reid c3dbcc5717 Try improving Android detection.
Issue from raylib: https://github.com/raysan5/raylib/issues/2118
2022-10-21 09:44:43 +10:00
David Reid 1778a5e839 Version 0.11.10 2022-10-20 11:39:26 +10:00
David Reid 6acc98c909 Update changes. 2022-07-20 11:32:40 +10:00
David Reid ad1171b2f3 Fix an error when the channel mask reported by Windows is all zero.
Public issue https://github.com/mackron/miniaudio/issues/493
2022-07-16 07:21:07 +10:00
David Reid f6e5cf10ae Fix a crash when initializing a channel converter.
Public issue https://github.com/mackron/miniaudio/issues/482
2022-06-25 18:11:17 +10:00
David Reid b6b3fbfb55 Update revision history and version number. 2022-06-12 17:55:24 +10:00
David Reid 4d813cfe23 Update date on change history. 2022-04-20 20:20:41 +10:00
David Reid e7dfd77a97 Update change history. 2022-04-10 21:53:04 +10:00
David Reid 7c8668103f Fix a subtle bug when seeking back to the start of a decoder. 2022-04-10 12:00:01 +10:00
David Reid 9c338c5882 Fix a crash when seeking with ma_sound_seek_to_pcm_frame(). 2022-03-30 17:50:18 +10:00
David Reid 09f54c3712 Update revision history. 2022-03-29 09:35:54 +10:00
David Reid eebdd2960d Fix some bugs where looping doesn't work with the resource manager. 2022-02-18 18:10:50 +10:00
David Reid 82e70f4cbe Version 0.11.8 2022-02-12 19:56:49 +10:00
David Reid f83341e46f Update revision history. 2022-02-11 19:08:23 +10:00
David Reid 073b7bbbba Version 0.11.7 2022-02-06 10:20:23 +10:00
David Reid 353eaba3c0 Update revision history. 2022-02-06 10:19:13 +10:00
David Reid 10783dd8eb Update revision history. 2022-01-28 18:28:51 +10:00
David Reid 0f461e564d Update version number and revision history. 2022-01-26 15:23:23 +10:00
David Reid 13f1d31a85 Update CHANGES. 2022-01-22 12:09:56 +10:00
David Reid f769b18157 WASAPI: Fix an error where a buffer can possible be unreleased. 2022-01-19 17:50:34 +10:00
David Reid 8c2d95263c Update changes. 2022-01-18 18:52:21 +10:00
David Reid f0e1b78b6e Update CHANGES. 2022-01-17 19:46:03 +10:00
David Reid f2d4fc426d Fix a crash with high-pass and band-pass filters.
Public issue https://github.com/mackron/miniaudio/issues/409
2022-01-17 18:58:31 +10:00
David Reid 92d39a73fa Version 0.11.5 2022-01-16 19:35:45 +10:00
David Reid 5138fd992c Update changes. 2022-01-16 11:59:51 +10:00
David Reid 981d05ae8d Fix a deadlock when starting a device fails.
Public issue https://github.com/mackron/miniaudio/issues/399
2022-01-13 18:28:40 +10:00
David Reid 26e2a59ffb Update changes. 2022-01-11 19:30:42 +10:00
David Reid cc274c67d5 Move revision history out of miniaudio.h and into CHANGES.md 2022-01-11 19:09:25 +10:00