[Bf-committers] C++11 Audaspace

Jörg Müller nexyon at gmail.com
Tue Apr 14 23:39:17 CEST 2015


Hi all,

the C++11 version of audaspace (Blender's audio library) [1] is ready to 
be used in Blender. The library is in a ready to release state and I 
have successfully built and used it on Windows, Mac and Linux. Idealy I 
would like to have it in the release of Blender 2.76. To integrate it 
back into the Blender source tree there are two possible solutions:

1. we have it as an dependency like most other libraries. This means 
that the prebuilt library is in the lib svn folder [2] for Windows and 
Mac. Linux developers would need to have it installed. There is a 
package [3] for Arch linux already for example, creating packages for 
other distributions shouldn't be too difficult.

2. we build it as part of our build system and put the source code in 
the extern folder like other libraries such as bullet or libmv. The 
current version is in the intern folder.

I have a patch that implements solution 1 for Linux so far and it keeps 
the old version in intern and adds an option to cmake with which you can 
switch between old and new audaspace.

To build the library a compiler with full C++11 compatibility is needed, 
that means clang starting with version 3.3 (lower might be enough for 
audaspace), gcc 4.8 and msvc 2013. Mingw doesn't work as they don't 
support std::thread yet for example.

I am now asking for comments and suggestions and especially whether the 
first or second option are prefered. The plan would be to implement and 
test this then until 2.48 is released and merge it to master as soon as 
master is open after the 2.48 release.

Regards,
Jörg

[1] https://github.com/neXyon/audaspace
[2] https://svn.blender.org/svnroot/bf-blender/trunk/lib/
[3] https://aur.archlinux.org/packages/audaspace-git/


More information about the Bf-committers mailing list