Compiling OpenAL Soft
Hello again! I am looking to add OpenAL to my project. I saw that audio was added in 4.1, but I'm not sure if it extended to Java 8, or if OpenAL could even be compiled. Has anyone tried this or have any tips for doing this?
4 Replies
CheerpJ 4.1 supports audio as provided by OpenJDK, by emulating ALSA APIs. OpenAL can conceptually be compiled, but similarly to gl4es it would require access to internal headers and libraries that are currently not released.
It is almost certain the set of APIs currently implemented would also not be enough, so even more work on the kernel side of CheerpJ would be required.
It our intention to make it possible for users to achieve these sort of things, but it is not a short term priority
That is completely understandable, I expected such. For now, I'll figure out how OpenAL works and write a version in Javascript that will work with LWJGL (2.9.3). Thank you for the info!
Figured I would change the title and tags since it is related and because I'd rather not bother people with a 3rd support post. I am attempting to compile OpenAL Soft with Cheerp, configured to only have the
WaveFile
and Null
backends for testing purposes. When running cmake
I get the following error:
I would have to assume that this is because there is no target for whatever Cheerp is set to target. Would there be a way to fool cmake
into not throwing an error about an unknown target?GitHub
GitHub - kcat/openal-soft: OpenAL Soft is a software implementation...
OpenAL Soft is a software implementation of the OpenAL 3D audio API. - kcat/openal-soft
Fixed, just an issue with install locations.