love
love copied to clipboard
[SUGGESTION] Consider to use MojoAL instead of OpenALSoft.
https://icculus.org/mojoAL/
Pros:
- is licensed under the zlib license.
- identical api from OpenALSoft
- get rid of OpenAL32.dll
- written in C, in a single source file (.c), and can be glued to love2d source-code without any new dlls.
- requires SDL2 only.
Also i hope, change to MojoAL will be possible without any problems or modifications in source-code.
I do want to switch to MojoAL instead of Apple's OpenAL implementation for iOS. But on other platforms, OpenAL-Soft exposes some features love uses which MojoAL doesn't provide I believe - for example audio effects (EFX) and filters.
It should be feasible to have a compile flag to choose MojoAL instead of OpenAL-Soft / system OpenAL, at least.
I tried MojoAL and it blows up when trying to seek a streaming source. So any use of it in love will have to wait until it's more robust.
There is a library called MINIAUDIO, it seems good and it's actively developed. Not sure if the library fits LOVE or not, take a look at it.
https://miniaud.io
OpenAL-Soft works on iOS doesn't it? Why not use it there as well? Then we'd also get effects like reverb, HRTF, etc. on iOS as well. Would be quite useful.
OpenAL-soft works on iOS yes. Unfortunately, licensing issue prevents the usage of OpenAL-soft in iOS.
In particular, OpenAL-Soft uses the LGPL license which is incompatible with iOS App Store distribution and other related parts of iOS app packaging and installation.
Ah sorry, I missed that bit. That's really unfortunate and quite disappointing... Thanks for the clarification.
tried MojoAL and it blows up when trying to seek a streaming source
Can you still reproduce this?
I haven't tried recently, but I did file a bug report about it which got solved.