Commit Graph

112 Commits

Author SHA1 Message Date
David Reid 6eeea700f0 Silence a very minor linting warning in VS2022. 2023-05-17 18:22:24 +10:00
David Reid ea205fb7b0 Version 0.11.16 2023-05-15 09:36:42 +10:00
David Reid 7384bde372 Update change history. 2023-04-30 08:39:53 +10:00
David Reid 0d78b28f56 Update change history. 2023-04-19 08:35:07 +10:00
David Reid 3769393b85 Update change history. 2023-04-07 18:09:38 +10:00
David Reid 23345b47e8 Add support for volume smoothing to sounds.
Smoothing is disabled by default. To enable it, you must use
ma_sound_init_ex() and configure it via the volumeSmoothTimeInPCMFrames
member of ma_sound_config.

This commit also fixes a bug where ma_gainer is not properly applying
smoothing.
2023-04-07 17:34:33 +10:00
David Reid 9a7663496f Version 0.11.14 2023-03-29 07:52:40 +10:00
David Reid 8ce4857bcd Add support for using ma_pcm_rb as a data source. 2023-03-25 12:05:28 +10:00
David Reid 025afa464a Update dr_wav and c89atomic. 2023-03-25 10:23:49 +10:00
David Reid 58855d3d34 Fix some pedantic warnings when compiling with GCC. 2023-03-25 09:10:28 +10:00
David Reid d63a3894ad Typo. 2023-03-23 20:11:57 +10:00
David Reid 6b4f356b02 Update change history. 2023-03-23 10:46:15 +10:00
David Reid fb9c18c705 Version 0.11.13 2023-03-23 07:33:23 +10:00
David Reid 7f077a1cd7 Update revision history. 2023-03-21 17:32:45 +10:00
David Reid 206be60612 Update revision history. 2023-03-21 09:58:32 +10:00
David Reid 0a19c74417 Version 0.11.12 2023-03-19 20:58:13 +10:00
David Reid ff6592be45 Remove the Windows-specific default memcpy(), malloc(), etc. 2023-03-18 08:58:55 +10:00
David Reid 695e750c34 Add support for callback notifications when a sound reaches the end. 2023-03-17 12:05:56 +10:00
David Reid a54b5eb04d Remove an invalid item from the change history. 2023-02-28 11:22:44 +10:00
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