diff options
author | Chris Robinson <[email protected]> | 2016-07-31 08:13:41 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2016-07-31 08:13:41 -0700 |
commit | bff5268ed49261db9bfe432a0439bb4d508d8997 (patch) | |
tree | f0f5a2a44357dd7b9bb466f2a4ab018935f2707d /Alc/backends/wave.c | |
parent | 2dd27568903033dfb017aaa85b53c6fa4abfd0de (diff) |
Remove DevFmtBFormat3D, which is covered by DevFmtAmbi1
Diffstat (limited to 'Alc/backends/wave.c')
-rw-r--r-- | Alc/backends/wave.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Alc/backends/wave.c b/Alc/backends/wave.c index 85b4c720..9bf5a727 100644 --- a/Alc/backends/wave.c +++ b/Alc/backends/wave.c @@ -249,7 +249,7 @@ static ALCboolean ALCwaveBackend_reset(ALCwaveBackend *self) clearerr(self->mFile); if(GetConfigValueBool(NULL, "wave", "bformat", 0)) - device->FmtChans = DevFmtBFormat3D; + device->FmtChans = DevFmtAmbi1; switch(device->FmtType) { @@ -280,9 +280,8 @@ static ALCboolean ALCwaveBackend_reset(ALCwaveBackend *self) case DevFmtAmbi1: case DevFmtAmbi2: case DevFmtAmbi3: - device->FmtChans = DevFmtBFormat3D; - /*fall-through*/ - case DevFmtBFormat3D: + /* .amb output requires FuMa */ + device->AmbiFmt = AmbiFormat_FuMa; isbformat = 1; chanmask = 0; break; |