[openal] some beginner questions

Victorious dtvictorious at gmail.com
Wed May 13 09:16:36 EDT 2015


I've tried rebuilding allure from the git repo, without telling cmake about PhysicsFS and libsndfile. I get exactly the same errors. Using vs2013.

-----Original Message-----
From: Victorious [mailto:dtvictorious at gmail.com] 
Sent: Sunday, May 10, 2015 12:08 PM
To: 'openal mailing list'
Subject: RE: [openal] some beginner questions

Will HRTF be enabled automatically if the presence of a suitable .mhr is detected in the current directory?

I'm having some trouble with building allure. I've used cmake and it has detected the presence of PhysicsFS and libsndfile. When I try building the resulting visual studio solution, I get the following warning/errors:Do I have to add some of

Warning	1	warning C4820: '_wfinddata64i32_t' : '4' bytes padding added after data member '_wfinddata64i32_t::attrib'	C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\wchar.h	119
Warning	2	warning C4820: '_wfinddata64i32_t' : '4' bytes padding added after data member '_wfinddata64i32_t::name'	C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\include\wchar.h	124
< more similar warnings omitted>
Error	26	error C2536: 'alure::Vector3::alure::Vector3::mValue' : cannot specify explicit initializer for arrays	D:\source\alure\include\AL\alure2.h	70	1	alure2

Is there some configuration step I missed?

-----Original Message-----
From: openal [mailto:openal-bounces at openal.org] On Behalf Of Chris Robinson
Sent: Sunday, May 10, 2015 3:37 AM
To: openal mailing list
Subject: Re: [openal] some beginner questions

On 05/08/2015 07:56 PM, Victorious wrote:
> I've pretty new to openal-soft. I've came across a utility library 
> called allure, and it says that its meant for use with openal 
> applications. Does that refer to the openal from creative's site or 
> does it work with openal soft as well? I had a bit of trouble with 
> trying to build it because it wanted to link with the openal 1.1 sdk's include files.


Alure should work with OpenAL Soft, as they were made by the same person
(me) and that's what I use it against. What version of OpenAL Soft and Alure are you trying to use, and what's the error?

> Also, what's the current status of enabling hrtf without using files 
> in the apdata folder? I found some posts last year discussing the 
> possibility of allowing the program to change that at runtime.

The current Git version will look in the current working directory for such files. So, unless the user has reconfigured where to look for the mhr files, you can place default-*.mhr files in the directory the app is run from rather than the %AppData% directory. Unfortunately there still isn't a way to select HRTF data sets from in the app.
openal mailing list
openal at openal.org

More information about the openal mailing list