Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SUGGESTION] Consider to use MojoAL instead of OpenALSoft. #1764

Open
sharkist opened this issue Jan 13, 2022 · 10 comments
Open

[SUGGESTION] Consider to use MojoAL instead of OpenALSoft. #1764

sharkist opened this issue Jan 13, 2022 · 10 comments
Labels
change Change to existing functionality

Comments

@sharkist
Copy link

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.

@slime73
Copy link
Member

slime73 commented Jan 13, 2022

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
Copy link
Member

slime73 commented Jan 13, 2022

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

@slime73 slime73 added the change Change to existing functionality label Jan 13, 2022
@slime73 slime73 added this to the 12.0 milestone Jan 13, 2022
@slime73 slime73 removed this from the 12.0 milestone Apr 30, 2022
@slime73
Copy link
Member

slime73 commented Apr 30, 2022

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.

@0azizi0
Copy link

0azizi0 commented Nov 2, 2022

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

@Ghorthalon
Copy link

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.

@MikuAuahDark
Copy link
Contributor

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

@slime73
Copy link
Member

slime73 commented Sep 10, 2023

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.

@Ghorthalon
Copy link

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

@ericoporto
Copy link

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

Can you still reproduce this?

@slime73
Copy link
Member

slime73 commented Jan 26, 2024

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
change Change to existing functionality
Projects
None yet
Development

No branches or pull requests

6 participants