nothings / single_file_libs

List of single-file C/C++ libraries.
8.8k stars 585 forks source link

Submission: mojoAL #266

Open MikuAuahDark opened 9 months ago

MikuAuahDark commented 9 months ago

MojoAL is a full OpenAL 1.1 implementation written in C in a single file. https://github.com/icculus/mojoAL


Technically, it requires 4 files + SDL2 dependency, so I'm not sure how it's gonna fit here. However I'm still going to suggest it because why not. Preferably useful if someone is already having SDL2 as their dependency.

The 4 files are:

Even if the license is embedded into mojoal.c, the two headers still needs to be in separate files due to how apps written using OpenAL expects the header file structure.