diff options
author | Chris Robinson <[email protected]> | 2022-03-26 22:25:13 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2022-03-29 11:48:57 -0700 |
commit | 4ca8992fbd8a367973f23046a4f6b23980090e18 (patch) | |
tree | 09f7d530a85e190af42a8cf99097f8440e8bb46e /alc/alc.cpp | |
parent | a752d920d1899e7ff22748f3eca835525fc85b30 (diff) |
Rename ALC_STEREO_PLAIN_SOFT and don't duplicate ALC_HRTF_SOFT
Diffstat (limited to 'alc/alc.cpp')
-rw-r--r-- | alc/alc.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/alc/alc.cpp b/alc/alc.cpp index 9abcde60..f6bbcb59 100644 --- a/alc/alc.cpp +++ b/alc/alc.cpp @@ -538,7 +538,7 @@ constexpr struct { DECL(ALC_OUTPUT_MODE_SOFT), DECL(ALC_ANY_SOFT), - DECL(ALC_STEREO_PLAIN_SOFT), + DECL(ALC_STEREO_BASIC_SOFT), DECL(ALC_STEREO_UHJ_SOFT), DECL(ALC_STEREO_HRTF_SOFT), @@ -1757,7 +1757,7 @@ ALCenum UpdateDeviceParams(ALCdevice *device, const int *attrList) if(opthrtf) stereomode = *opthrtf ? StereoEncoding::Hrtf : StereoEncoding::Normal; - if(outmode == ALC_STEREO_PLAIN_SOFT) + if(outmode == ALC_STEREO_BASIC_SOFT) stereomode = StereoEncoding::Normal; else if(outmode == ALC_STEREO_UHJ_SOFT) stereomode = StereoEncoding::Uhj; @@ -1811,7 +1811,7 @@ ALCenum UpdateDeviceParams(ALCdevice *device, const int *attrList) case OutputMode::Any: break; case OutputMode::Mono: set_device_mode(DevFmtMono); break; case OutputMode::Stereo: set_device_mode(DevFmtStereo); break; - case OutputMode::StereoPlain: + case OutputMode::StereoBasic: set_device_mode(DevFmtStereo); stereomode = StereoEncoding::Normal; break; |