diff options
author | Chris Robinson <[email protected]> | 2018-11-20 22:47:24 -0800 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2018-11-20 22:47:24 -0800 |
commit | d64d64d4a5d62a90b861ab104fd3b787bfd7256a (patch) | |
tree | dc51cd806ce8f0b1a884d944068657a157f389f3 /Alc/backends/wave.cpp | |
parent | dc8ef8264a458282ebad15a6a1b4027cc139cc59 (diff) |
Use an enum class for AmbiLayout/Norm settings
Diffstat (limited to 'Alc/backends/wave.cpp')
-rw-r--r-- | Alc/backends/wave.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Alc/backends/wave.cpp b/Alc/backends/wave.cpp index 83af40a8..d1356338 100644 --- a/Alc/backends/wave.cpp +++ b/Alc/backends/wave.cpp @@ -289,8 +289,8 @@ ALCboolean ALCwaveBackend_reset(ALCwaveBackend *self) case DevFmtX71: chanmask = 0x01 | 0x02 | 0x04 | 0x08 | 0x010 | 0x020 | 0x200 | 0x400; break; case DevFmtAmbi3D: /* .amb output requires FuMa */ - device->mAmbiLayout = AmbiLayout_FuMa; - device->mAmbiScale = AmbiNorm_FuMa; + device->mAmbiLayout = AmbiLayout::FuMa; + device->mAmbiScale = AmbiNorm::FuMa; isbformat = 1; chanmask = 0; break; |