aboutsummaryrefslogtreecommitdiffstats
path: root/alc/alcmain.h
diff options
context:
space:
mode:
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(); }