Commit Graph

240 Commits

Author SHA1 Message Date
RainRat 3ba0595c6a fix typos 2024-04-11 12:40:39 +10:00
RainRat 4bc18bba5a revert unneeded changes per request 2024-04-11 12:40:39 +10:00
RainRat 26ce355703 fix typos 2024-04-11 12:40:39 +10:00
RainRat 2618c21415 revert unneeded changes per request 2024-03-01 08:35:45 +10:00
RainRat 030b9554c2 fix typos 2024-03-01 08:35:45 +10:00
David Reid 766a155fb3 Stop using MA_ASSERT in examples.
This is useful because MA_ASSERT is only defined in the implementation
section of miniaudio.h which can cause issues when people copy/paste
the code and use it in a file that does not have visibility of the
implementation.

Note that there are still more references to implementation-defined
macros, but these have been moved to the public section in the dev-0.12
branch so I'm not bothering to change those just yet.

Public issue https://github.com/mackron/miniaudio/issues/787
2023-12-17 08:42:19 +10:00
David Reid 2b8bb34ca2 Update split version for testing. 2023-11-29 07:31:38 +10:00
David Reid 4a5b74bef0 Version 0.11.21 2023-11-15 11:23:00 +10:00
Michael Labbé 8fcf6889aa Add new ma_device_notification_type_unlocked notification
Unlocked notification fires on emscripten upon successful resume of
audio context attached to a device.  This occurs only once per device
and it happens after the browser has received the input event
necessary to begin playing audio on most webpages.  This is due
to autoplay rules.

It is recommended to wait until this event is fired to start a
'main game loop' on the web.
2023-11-15 10:28:02 +10:00
David Reid 3b50a854ec Version 0.11.20 2023-11-10 07:44:19 +10:00
David Reid b19cc09fd0 Version 0.11.19 2023-11-04 07:05:24 +10:00
a.borisov fe5f17ecf3 fix misspells
occured -> occurred
aquired -> acquired
accomodate -> accommodate
seperate -> separate
etc.
2023-10-22 07:06:12 +10:00
David Reid 2922859ea9 Remove cosmo windows.h header. 2023-08-31 18:30:42 +10:00
nmlgc 70bf42392d Fix SSE2 sample swapping in mono expansion.
The SSE2 code paths for mono expansion introduced in Version 0.11.15
mixed up the parameters of `_mm_shuffle_ps()`, which in turn caused
adjacent PCM frames to be swapped in the channel-expanded output.
2023-08-30 08:37:12 +10:00
David Reid 9d461f6d5d Minor changes to osaudio. 2023-08-27 15:26:46 +10:00
David Reid 6539b67163 Remove an incorrect comment. 2023-08-27 15:25:08 +10:00
David Reid 1f8c86d9ca Fix a copy/paste error. 2023-08-22 21:20:35 +10:00
David Reid 509bd6d4f2 Fix some typos. 2023-08-17 20:56:42 +10:00
David Reid a81f09d93c Add osaudio to the extras folder.
This is just a small project to experiment with a few API ideas. This
is not a replacement for miniaudio or anything so don't panic.
2023-08-17 19:45:15 +10:00
David Reid 3898fff8ed Version 0.11.18 2023-08-07 11:05:14 +10:00
David Reid d76b9a1ac4 Version 0.11.17 2023-05-27 12:49:48 +10:00
David Reid ea205fb7b0 Version 0.11.16 2023-05-15 09:36:42 +10:00
David Reid 26b0a9ffc0 Version 0.11.15 2023-04-30 08:32:13 +10:00
David Reid 9a7663496f Version 0.11.14 2023-03-29 07:52:40 +10:00
David Reid fb9c18c705 Version 0.11.13 2023-03-23 07:33:23 +10:00
David Reid 6d71ce4121 Fix compilation errors with WIN32_LEAN_AND_MEAN.
Public issue https://github.com/mackron/miniaudio/discussions/647
2023-03-21 09:53:24 +10:00
David Reid 0a19c74417 Version 0.11.12 2023-03-19 20:58:13 +10:00
David Reid 0b9b382a53 Get DirectSound and WinMM backends compiling with Cosmopolitan.
Note that this does not currently work at runtime.
2023-03-18 12:39:56 +10:00
David Reid 9d3b59f0a9 Fix compilation errors with the WASAPI backend for Cosmopolitan. 2023-03-18 11:54:44 +10:00
David Reid 18b4ac2433 Fix Windows/Cosmopolitan build. 2023-03-18 10:03:54 +10:00
David Reid a65191f418 Code cleanup.
The Cosmopolitan-specific windows.h stuff has now been moved to an
external file in the extras folder:

    extras/cosmopolitan/include/windows.h

To compile with Cosmpolitan it is now required that you add the above
path to the command line when compiling.
2023-03-18 09:28:55 +10:00
David Reid f4d8a537e9 Check the return value when data is read from a libvorbis file. 2022-11-22 21:34:09 +10:00
David Reid 08472e45d7 Fix a copy paste error in some of the nodes in the extras folder. 2022-11-11 08:53:06 +10:00
David Reid a0dc1037f9 Version 0.11.11 2022-11-04 11:46:15 +10:00
David Reid eed5e3aac0 Update verblib. 2022-10-26 08:16:32 +10:00
David Reid 1778a5e839 Version 0.11.10 2022-10-20 11:39:26 +10:00
David Reid e588d10b4c Revert "verblib: Try fixing an issue in stereo mode."
This reverts commit 0788be818b.

This change was technically incorrect. Reverting this change for now
until a better fix is in place. Likely this will require an extra
parameter for controlling this.
2022-10-20 11:08:56 +10:00
Zvicii 2fde0c695e fix: build error under msvc
Cast from 'void*' to pointer to non-'void' requires explicit type cast error under msvc compiler
2022-08-01 08:53:29 +10:00
David Reid 0788be818b verblib: Try fixing an issue in stereo mode. 2022-06-25 18:04:40 +10:00
David Reid 80b9fa63ee Update stb_vorbis.
Pubic issue https://github.com/mackron/miniaudio/issues/469
2022-05-15 07:20:21 +10:00
David Reid 4dfe7c4c31 Version 0.11.9 2022-04-20 20:14:51 +10:00
David Reid 82e70f4cbe Version 0.11.8 2022-02-12 19:56:49 +10:00
David Reid 073b7bbbba Version 0.11.7 2022-02-06 10:20:23 +10:00
David Reid c3a9ab9b90 Version 0.11.6 2022-01-22 12:12:24 +10:00
David Reid 92d39a73fa Version 0.11.5 2022-01-16 19:35:45 +10:00
David Reid e89650cc4b Version 0.11.4 2022-01-11 18:30:44 +10:00
David Reid 700dba14ea Version 0.11.3 2022-01-07 21:04:38 +10:00
David Reid 42abbbea46 Version 0.11.2 2021-12-31 19:15:03 +10:00
David Reid d3d4d425f1 Version 0.11.1 2021-12-27 21:37:46 +10:00
David Reid c9a4f21e4e Version 0.11.0 2021-12-18 21:19:34 +10:00