aboutsummaryrefslogtreecommitdiffstats
path: root/alc/context.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'alc/context.cpp')
-rw-r--r--alc/context.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/alc/context.cpp b/alc/context.cpp
index 456c054e..34da3784 100644
--- a/alc/context.cpp
+++ b/alc/context.cpp
@@ -558,6 +558,10 @@ unsigned long ALCcontext::eax_detect_speaker_configuration() const
case DevFmtX51: return SPEAKERS_5;
case DevFmtX61: return SPEAKERS_6;
case DevFmtX71: return SPEAKERS_7;
+ /* 3D7.1 is only compatible with 5.1. This could instead be HEADPHONES to
+ * suggest full-sphere surround sound (like HRTF).
+ */
+ case DevFmtX3D71: return SPEAKERS_5;
/* This could also be HEADPHONES, since headphones-based HRTF and Ambi3D
* provide full-sphere surround sound. Depends if apps are more likely to
* consider headphones or 7.1 for surround sound support.