aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/wave.c
diff options
context:
space:
mode:
Diffstat (limited to 'Alc/backends/wave.c')
-rw-r--r--Alc/backends/wave.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/Alc/backends/wave.c b/Alc/backends/wave.c
index af996233..85b4c720 100644
--- a/Alc/backends/wave.c
+++ b/Alc/backends/wave.c
@@ -277,6 +277,11 @@ static ALCboolean ALCwaveBackend_reset(ALCwaveBackend *self)
case DevFmtX51Rear: chanmask = 0x01 | 0x02 | 0x04 | 0x08 | 0x010 | 0x020; break;
case DevFmtX61: chanmask = 0x01 | 0x02 | 0x04 | 0x08 | 0x100 | 0x200 | 0x400; break;
case DevFmtX71: chanmask = 0x01 | 0x02 | 0x04 | 0x08 | 0x010 | 0x020 | 0x200 | 0x400; break;
+ case DevFmtAmbi1:
+ case DevFmtAmbi2:
+ case DevFmtAmbi3:
+ device->FmtChans = DevFmtBFormat3D;
+ /*fall-through*/
case DevFmtBFormat3D:
isbformat = 1;
chanmask = 0;