83 Commits

Author SHA1 Message Date
David Reid 4a5b74bef0 Version 0.11.21 2023-11-15 11:23:00 +10:00
David Reid 3b50a854ec Version 0.11.20 2023-11-10 07:44:19 +10:00
David Reid da0572e6b8 Fix a compilation error with iOS.
Public issue https://github.com/mackron/miniaudio/issues/770
2023-11-09 15:01:03 +10:00
David Reid eb0ce6f1a5 Fix an error when dynamically linking when forcing the UWP build.
This also fixes a possible crash during initialization due to leaving a
thread running after early termination of the initialization routine.
2023-11-04 08:43:16 +10:00
David Reid b19cc09fd0 Version 0.11.19 2023-11-04 07:05:24 +10:00
David Reid 287881b815 Web Audio: Don't attempt to unlock audio on the touchstart event.
Public issue https://github.com/mackron/miniaudio/issues/759
2023-10-29 08:06:56 +10:00
David Reid 105ffd8b05 Update revision history. 2023-10-21 07:31:05 +10:00
David Reid 2f5c661bb7 Update revision history. 2023-10-21 07:24:23 +10:00
David Reid ecf2a8b917 Fix a crash when using a node with more than 2 outputs. 2023-10-21 07:18:58 +10:00
David Reid 90342e5f67 Update revision history. 2023-08-19 09:24:02 +10:00
David Reid c24141c5ae Remove the use of some deprecated functions. 2023-08-07 12:13:36 +10:00
David Reid 3898fff8ed Version 0.11.18 2023-08-07 11:05:14 +10:00
David Reid c36b391cc5 Update changes. 2023-08-05 17:58:01 +10:00
David Reid 3429769623 Update change history. 2023-08-04 12:14:18 +10:00
David Reid ab87375257 Add ma_engine_get_volume().
Public issue https://github.com/mackron/miniaudio/issues/700
2023-07-08 09:18:41 +10:00
David Reid a6eb7d6a6f Update change history. 2023-06-17 08:06:22 +10:00
David Reid 4c49c49596 Update change history. 2023-06-07 21:14:58 +10:00
David Reid d76b9a1ac4 Version 0.11.17 2023-05-27 12:49:48 +10:00
David Reid 8c59e9b736 Update change history. 2023-05-23 19:10:59 +10:00
David Reid 563e1c52cb Update change history. 2023-05-22 17:51:08 +10:00
David Reid 65574f44e3 Update change history. 2023-05-21 07:57:32 +10:00
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