aboutsummaryrefslogtreecommitdiffstats
path: root/Alc/backends/wave.c
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2017-02-27 16:11:45 -0800
committerChris Robinson <[email protected]>2017-02-27 16:11:45 -0800
commita9610b3607e8dd23f731b614c3b0761c38cb36a8 (patch)
tree6163c30f02668224717e4e055b340962d94b7bc7 /Alc/backends/wave.c
parent5c859af24ea44dabbbb31631309bb08a858a523e (diff)
Use separate enums for the ambisonic channel order and normalization
Diffstat (limited to 'Alc/backends/wave.c')
-rw-r--r--Alc/backends/wave.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/Alc/backends/wave.c b/Alc/backends/wave.c
index ac0ffd80..1b13746e 100644
--- a/Alc/backends/wave.c
+++ b/Alc/backends/wave.c
@@ -283,7 +283,8 @@ static ALCboolean ALCwaveBackend_reset(ALCwaveBackend *self)
case DevFmtAmbi2:
case DevFmtAmbi3:
/* .amb output requires FuMa */
- device->AmbiFmt = AmbiFormat_FuMa;
+ device->AmbiLayout = AmbiLayout_FuMa;
+ device->AmbiScale = AmbiNorm_FuMa;
isbformat = 1;
chanmask = 0;
break;