aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alcmain.h
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-04-22 10:13:49 -0700
committerChris Robinson <[email protected]>2021-04-22 10:13:49 -0700
commitd6d6fd73787bc159678a8c09cbf6833d2d336949 (patch)
tree4fc2397c8685924e93eb6e8042402f50b4b228a8 /alc/alcmain.h
parent6ae12d0b8543934a320887729f9e82aa1a56865b (diff)
Avoid using config methods in hrtf.cpp
Diffstat (limited to 'alc/alcmain.h')
-rw-r--r--alc/alcmain.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/alc/alcmain.h b/alc/alcmain.h
index dea3b6ba..d0f9d6e3 100644
--- a/alc/alcmain.h
+++ b/alc/alcmain.h
@@ -291,9 +291,9 @@ struct ALCdevice : public al::intrusive_ref<ALCdevice> {
ALCuint NumStereoSources{};
ALCuint NumAuxSends{};
- std::string HrtfName;
- al::vector<std::string> HrtfList;
- ALCenum HrtfStatus{ALC_FALSE};
+ std::string mHrtfName;
+ al::vector<std::string> mHrtfList;
+ ALCenum mHrtfStatus{ALC_FALSE};
ALCenum LimiterState{ALC_DONT_CARE_SOFT};
@@ -317,6 +317,8 @@ struct ALCdevice : public al::intrusive_ref<ALCdevice> {
ALCdevice& operator=(const ALCdevice&) = delete;
~ALCdevice();
+ void enumerateHrtfs();
+
uint bytesFromFmt() const noexcept { return BytesFromDevFmt(FmtType); }
uint channelsFromFmt() const noexcept { return ChannelsFromDevFmt(FmtChans, mAmbiOrder); }
uint frameSizeFromFmt() const noexcept { return bytesFromFmt() * channelsFromFmt(); }