[vlc-commits] extras: add a default HRTF stored as a resource

Adrien Maglo git at videolan.org
Wed Jul 19 18:58:13 CEST 2017


vlc | branch: master | Adrien Maglo <magsoft at videolan.org> | Fri Jul  7 15:10:39 2017 +0200| [677a17cf1b3e374b81984f188dba3d9cea144582] | committer: Thomas Guillem

extras: add a default HRTF stored as a resource

Signed-off-by: Thomas Guillem <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=677a17cf1b3e374b81984f188dba3d9cea144582
---

 extras/package/macosx/package.mak             |   2 ++
 extras/package/win32/package.mak              |   3 +++
 share/hrtfs/dodeca_and_7channel_FHK_HRTF.sofa | Bin 0 -> 92418 bytes
 3 files changed, 5 insertions(+)

diff --git a/extras/package/macosx/package.mak b/extras/package/macosx/package.mak
index f603e1f278..4813da19ab 100644
--- a/extras/package/macosx/package.mak
+++ b/extras/package/macosx/package.mak
@@ -35,6 +35,8 @@ if BUILD_LUA
 	## Copy lua scripts
 	cp -r "$(prefix)/lib/vlc/lua" "$(prefix)/share/vlc/lua" $@/Contents/MacOS/share/
 endif
+	## HRTFs
+	cp -r $(srcdir)/share/hrtfs @/Contents/MacOS/share/
 	## Copy some other stuff (?)
 	mkdir -p $@/Contents/MacOS/include/
 	(cd "$(prefix)/include" && $(AMTAR) -c --exclude "plugins" vlc) | $(AMTAR) -x -C $@/Contents/MacOS/include/
diff --git a/extras/package/win32/package.mak b/extras/package/win32/package.mak
index b2bde7f926..4965ee84ab 100644
--- a/extras/package/win32/package.mak
+++ b/extras/package/win32/package.mak
@@ -58,6 +58,9 @@ if BUILD_SKINS
 	cp -r $(prefix)/share/vlc/skins2 $(win32_destdir)/skins
 endif
 
+# HRTF
+	cp -r $(srcdir)/share/hrtfs $(win32_destdir)/
+
 # SDK
 	mkdir -p "$(win32_destdir)/sdk/lib/"
 	cp -r $(prefix)/include "$(win32_destdir)/sdk"
diff --git a/share/hrtfs/dodeca_and_7channel_FHK_HRTF.sofa b/share/hrtfs/dodeca_and_7channel_FHK_HRTF.sofa
new file mode 100644
index 0000000000..246a171dcf
Binary files /dev/null and b/share/hrtfs/dodeca_and_7channel_FHK_HRTF.sofa differ



More information about the vlc-commits mailing list