diff options
author | Chris Robinson <[email protected]> | 2020-09-01 05:46:19 -0700 |
---|---|---|
committer | Chris Robinson <[email protected]> | 2020-09-01 05:46:19 -0700 |
commit | a6aefeccd8c515d376f2074a545de9c9d8c5cbb9 (patch) | |
tree | 6b9252a12644718258ccf789e37b39aae2aa60e5 /alc/alcmain.h | |
parent | 02e51c0525507dd0bc59629851449d4d5ad97223 (diff) |
Use enum class for a couple enums
Diffstat (limited to 'alc/alcmain.h')
-rw-r--r-- | alc/alcmain.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/alc/alcmain.h b/alc/alcmain.h index b53e5f8d..a641f4c8 100644 --- a/alc/alcmain.h +++ b/alc/alcmain.h @@ -50,17 +50,17 @@ struct bs2b; #define DEFAULT_NUM_UPDATES 3 -enum DeviceType { +enum class DeviceType { Playback, Capture, Loopback }; -enum RenderMode { - NormalRender, - StereoPair, - HrtfRender +enum class RenderMode { + Normal, + Pairwise, + Hrtf }; @@ -248,7 +248,7 @@ struct ALCdevice : public al::intrusive_ref<ALCdevice> { al::vector<FilterSubList> FilterList; /* Rendering mode. */ - RenderMode mRenderMode{NormalRender}; + RenderMode mRenderMode{RenderMode::Normal}; /* The average speaker distance as determined by the ambdec configuration, * HRTF data set, or the NFC-HOA reference delay. Only used for NFC. |