CommonLibVR
BSISoundOutputModel.h
Go to the documentation of this file.
1 #pragma once
2 
3 namespace RE
4 {
6  {
7  public:
8  inline static constexpr auto RTTI = RTTI_BSISoundOutputModel;
9  inline static constexpr auto VTABLE = VTABLE_BSISoundOutputModel;
10 
12  {
15 
17 
18  // add
19  [[nodiscard]] virtual float GetMaxDistance() const = 0; // 01
20  [[nodiscard]] virtual float GetMinDistance() const = 0; // 02
21  [[nodiscard]] virtual std::uint8_t GetCurveValue(std::uint32_t a_idx) const = 0; // 03
22  };
23  static_assert(sizeof(BSIAttenuationCharacteristics) == 0x8);
24 
25  virtual ~BSISoundOutputModel(); // 00
26 
27  // add
28  [[nodiscard]] virtual bool DoGetUsesHRTF() const = 0; // 01
29  [[nodiscard]] virtual bool DoGetHasSpeakerBias() const = 0; // 02
30  virtual bool DoGetSpeakerBias(std::uint32_t a_arg1, std::uint32_t a_arg2, float (&a_arg3)[8]) const = 0; // 03
31  [[nodiscard]] virtual bool DoGetAttenuatesWithDistance() const = 0; // 04
32  [[nodiscard]] virtual bool DoGetAudibility(float a_distance) const = 0; // 05
33  [[nodiscard]] virtual std::uint32_t DoGetSupportedInputChannels() const = 0; // 06
34  [[nodiscard]] virtual const BSIAttenuationCharacteristics* DoGetAttenuation() const = 0; // 07
35  [[nodiscard]] virtual float DoGetReverbSendLevel() const = 0; // 08
36  [[nodiscard]] virtual bool DoGetSupportsMonitor(std::uint32_t a_arg1) const = 0; // 09
37  private:
38  KEEP_FOR_RE()
39  };
40  static_assert(sizeof(BSISoundOutputModel) == 0x8);
41 }
#define KEEP_FOR_RE()
Definition: PCH.h:713
Definition: BSISoundOutputModel.h:6
static constexpr auto VTABLE
Definition: BSISoundOutputModel.h:9
virtual const BSIAttenuationCharacteristics * DoGetAttenuation() const =0
static constexpr auto RTTI
Definition: BSISoundOutputModel.h:8
virtual bool DoGetSpeakerBias(std::uint32_t a_arg1, std::uint32_t a_arg2, float(&a_arg3)[8]) const =0
virtual bool DoGetAttenuatesWithDistance() const =0
virtual float DoGetReverbSendLevel() const =0
virtual bool DoGetAudibility(float a_distance) const =0
virtual ~BSISoundOutputModel()
virtual bool DoGetUsesHRTF() const =0
virtual std::uint32_t DoGetSupportedInputChannels() const =0
virtual bool DoGetSupportsMonitor(std::uint32_t a_arg1) const =0
virtual bool DoGetHasSpeakerBias() const =0
Definition: AbsorbEffect.h:6
constexpr std::array< REL::ID, 1 > VTABLE_BSISoundOutputModel
Definition: Offsets_VTABLE.h:9056
constexpr REL::ID RTTI_BSISoundOutputModel(static_cast< std::uint64_t >(685288))
constexpr REL::ID RTTI_BSISoundOutputModel__BSIAttenuationCharacteristics(static_cast< std::uint64_t >(685289))
constexpr std::array< REL::ID, 1 > VTABLE_BSISoundOutputModel__BSIAttenuationCharacteristics
Definition: Offsets_VTABLE.h:9057
Definition: BSISoundOutputModel.h:12
virtual std::uint8_t GetCurveValue(std::uint32_t a_idx) const =0
static constexpr auto RTTI
Definition: BSISoundOutputModel.h:13
static constexpr auto VTABLE
Definition: BSISoundOutputModel.h:14