aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2016-11-10 12:37:07 -0800
committerChris Robinson <[email protected]>2016-11-10 12:37:07 -0800
commit0532acdf94c9a63d4d8d9b8f634063e2e63879b6 (patch)
tree759d16f71d5a2f18e2d3b804f0bb7f1d3ed3a76d /Alc
parent6a91d6a10ad90ec4923f94f36a428073d8cc4811 (diff)
Don't use 0 for a resource ID
Diffstat (limited to 'Alc')
-rw-r--r--Alc/hrtf.c4
-rw-r--r--Alc/hrtf_res.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/Alc/hrtf.c b/Alc/hrtf.c
index cd9656bc..7786befc 100644
--- a/Alc/hrtf.c
+++ b/Alc/hrtf.c
@@ -878,8 +878,8 @@ done:
#ifndef ALSOFT_EMBED_HRTF_DATA
-#define IDR_DEFAULT_44100_MHR 0
-#define IDR_DEFAULT_48000_MHR 1
+#define IDR_DEFAULT_44100_MHR 1
+#define IDR_DEFAULT_48000_MHR 2
static const ALubyte *GetResource(int UNUSED(name), size_t *size)
{
diff --git a/Alc/hrtf_res.h b/Alc/hrtf_res.h
index 027e49de..2dc39cf1 100644
--- a/Alc/hrtf_res.h
+++ b/Alc/hrtf_res.h
@@ -1,5 +1,5 @@
#define MHRTYPE 256
-#define IDR_DEFAULT_44100_MHR 0
-#define IDR_DEFAULT_48000_MHR 1
+#define IDR_DEFAULT_44100_MHR 1
+#define IDR_DEFAULT_48000_MHR 2