love icon indicating copy to clipboard operation
love copied to clipboard

[SUGGESTION] Consider to use MojoAL instead of OpenALSoft.

Open sharkist opened this issue 3 years ago • 10 comments

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.

sharkist avatar Jan 13 '22 14:01 sharkist

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.

slime73 avatar Jan 13 '22 14:01 slime73

It should be feasible to have a compile flag to choose MojoAL instead of OpenAL-Soft / system OpenAL, at least.

slime73 avatar Jan 13 '22 17:01 slime73

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.

slime73 avatar Apr 30 '22 14:04 slime73

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

0azizi0 avatar Nov 02 '22 12:11 0azizi0

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.

Ghorthalon avatar Sep 10 '23 11:09 Ghorthalon

OpenAL-soft works on iOS yes. Unfortunately, licensing issue prevents the usage of OpenAL-soft in iOS.

MikuAuahDark avatar Sep 10 '23 11:09 MikuAuahDark

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.

slime73 avatar Sep 10 '23 12:09 slime73

Ah sorry, I missed that bit. That's really unfortunate and quite disappointing... Thanks for the clarification.

Ghorthalon avatar Sep 10 '23 12:09 Ghorthalon

tried MojoAL and it blows up when trying to seek a streaming source

Can you still reproduce this?

ericoporto avatar Jan 26 '24 15:01 ericoporto

I haven't tried recently, but I did file a bug report about it which got solved.

slime73 avatar Jan 26 '24 15:01 slime73