2015-10-06 13:07:26

Hi.
I'm getting started with openAL, but a little bit confused.
First, I find 2 different places where I can download the SDK.
http://kcat.strangesoft.net/openal.html
and
https://www.openal.org/downloads/
The first page provides the archive as a zip file, and I've already extracted it. I'm not sure what the second one is. It seems like an installer. Which should I use?
Anyway, I have the main library, soft_all.dll. I'm currently using the first zip file I mentioned. In order to correctly process the 3d audio, are hrtf files needed to be copied to somewhere, or are they included in the dll file? I can see some mhr files in the archive's hrtf folder.

I don't speak as good as I write, and I don't listen as good as I speak.

2015-10-06 15:18:00

OpenAL is a standard which can have multiple implementations.
Your first link goes to OpenAL Soft, which is a cross platform software implementation.
The second goes to the Creative Labs implementation, which basically requires your users to have a nice Creative Labs soundcard to have things work correctly.
I use OpenALSoft and don't bother with the second.

Regarding HRTF: In OpenAL Soft version 1.15.1 the HRTF files were included within the dll.
In version 1.16 they are separate files which you found.

Here's what you have to do to get HRTF working on an end user's machine in 1.16:
1. Use your run window to open the %AppData% folder and create a file called alsoft.ini.
2. Put this line in that file:
hrtf = true
3. In the same %AppData% folder create the folders openal/hrtf.
4. Copy the 2 .mhr files into %AppData%/openal/hrtf.
Now OpenAL Soft will find the HRTF files and use HRTF.

Obviously this is a bit of a pain, but this is how it is for now.
The OpenAL Soft maintainer has written some extensions to make configuring HRTF a little nicer, but those won't be out until the next version.

If my instructions were confusing you can download this zip file that contains the files / folders you need to put in %AppData%:
http://BlindAudioGames.com/downloads/Pu … ppData.zip

Hope that helps.

~ Ian Reed
Visit BlindGamers.com to rate blind accessible games and see how others have rated them.
Try my free JGT addon, the easy way to play Japanese games in English.
Or try the free games I've created.

2015-10-06 16:16:56

Ian, thank you for your detailed explanation. So, I will need to create an installer, and copy the required files for every computer.

I don't speak as good as I write, and I don't listen as good as I speak.