From 4898234da8d732c91fa2d08d2ef9f36323e2a6c5 Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Tue, 12 Jul 2016 14:22:17 -0700 Subject: Add a cmake option to embed the HRTF data --- Alc/hrtf_res.h | 5 +++++ Alc/hrtf_res.rc | 4 ++++ 2 files changed, 9 insertions(+) create mode 100644 Alc/hrtf_res.h create mode 100644 Alc/hrtf_res.rc (limited to 'Alc') diff --git a/Alc/hrtf_res.h b/Alc/hrtf_res.h new file mode 100644 index 00000000..027e49de --- /dev/null +++ b/Alc/hrtf_res.h @@ -0,0 +1,5 @@ + +#define MHRTYPE 256 + +#define IDR_DEFAULT_44100_MHR 0 +#define IDR_DEFAULT_48000_MHR 1 diff --git a/Alc/hrtf_res.rc b/Alc/hrtf_res.rc new file mode 100644 index 00000000..a17b7447 --- /dev/null +++ b/Alc/hrtf_res.rc @@ -0,0 +1,4 @@ +#include "hrtf_res.h" + +IDR_DEFAULT_44100_MHR MHRTYPE "../hrtf/default-44100.mhr" +IDR_DEFAULT_48000_MHR MHRTYPE "../hrtf/default-48000.mhr" -- cgit v1.2.3