aboutsummaryrefslogtreecommitdiffstats
path: root/Alc
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-02-19 22:59:55 -0800
committerChris Robinson <[email protected]>2017-02-19 22:59:55 -0800
commitb23f81b686f4c72044d0d6f85b5049822f3c6a78 (patch)
tree22455048a2f0e4e03be85fb8cd50987839c3bbbf /Alc
parent3761336e6cf49a7cd5075424b3c8c4a1f5e5b226 (diff)
Remove the separate surround51rear decoder option
Both 5.1 Side and Rear configurations use 'surround51' to look up the appropriate decoder file. The decoder loader already handles mapping between rear and side channels, so there's no need for separate options.
Diffstat (limited to 'Alc')
-rw-r--r--Alc/panning.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/panning.c b/Alc/panning.c
index 80532bc4..00cf9e0b 100644
--- a/Alc/panning.c
+++ b/Alc/panning.c
@@ -940,8 +940,8 @@ void aluInitRenderer(ALCdevice *device, ALint hrtf_id, enum HrtfRequestMode hrtf
switch(device->FmtChans)
{
case DevFmtQuad: layout = "quad"; break;
- case DevFmtX51: layout = "surround51"; break;
- case DevFmtX51Rear: layout = "surround51rear"; break;
+ case DevFmtX51: /* fall-through */
+ case DevFmtX51Rear: layout = "surround51"; break;
case DevFmtX61: layout = "surround61"; break;
case DevFmtX71: layout = "surround71"; break;
/* Mono, Stereo, and Ambisonics output don't use custom decoders. */