mirror of
https://github.com/mackron/miniaudio.git
synced 2026-04-22 00:06:59 +02:00
8fcf6889aa
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.
These files split the main library into separate .h and .c files. This is intended for those who prefer separate files or whose build environment better suits this configuration. The files here are generated from a tool based on the content in the main miniaudio.h file. Do not edit these files directly. If you want to contribute, please make the contribution in the main file.
This is not always up to date with the most recent commit in the dev branch, but will usually be up to date with the master branch.