Fix #33518: Jack sync doesn't work in 2.64, 2.64 or 2.65 stable versions
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 27 Mar 2013 07:19:54 +0000 (07:19 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 27 Mar 2013 07:19:54 +0000 (07:19 +0000)
commit31eee77a4503ac38c3d9d96a5f77df86648c700c
tree6b7454f75cf78ff485e9b28f5f768daad9cd69b1
parent91b2b970ade21a70c3c7289cefff6c2cbb2059cd
Fix #33518: Jack sync doesn't work in 2.64, 2.64 or 2.65 stable versions

Added new build option WITH_JACK_DYNLOAD for CMake and
WITH_BF_JACK_DYNLOAD for SCons, which means there'll be
no build-time linking against libjack and getting symbols
from libjack will happen runtime using dlopen and dlsym
tricks.

Alternative would be to use weak linking, but it'll require
having wrapper for preloading libjack.

This new options are disabled by default and they only
intended to be used on linux. Other platforms shall not
be using this and there shall be no functional changes
on non-linux platforms at all.
19 files changed:
CMakeLists.txt
build_files/buildbot/config/user-config-glibc211-i686.py
build_files/buildbot/config/user-config-glibc211-x86_64.py
build_files/buildbot/config/user-config-player-glibc211-i686.py
build_files/buildbot/config/user-config-player-glibc211-x86_64.py
build_files/cmake/macros.cmake
build_files/scons/tools/Blender.py
build_files/scons/tools/btools.py
intern/audaspace/CMakeLists.txt
intern/audaspace/SConscript
intern/audaspace/intern/AUD_C-API.cpp
intern/audaspace/intern/AUD_C-API.h
intern/audaspace/jack/AUD_JackDevice.cpp
intern/audaspace/jack/AUD_JackDevice.h
intern/audaspace/jack/AUD_JackLibrary.cpp [new file with mode: 0644]
intern/audaspace/jack/AUD_JackLibrary.h [new file with mode: 0644]
source/blender/blenkernel/BKE_sound.h
source/blender/blenkernel/intern/sound.c
source/blender/makesrna/intern/rna_userdef.c