update OpenAL-Soft to 1.24.3.

This commit is contained in:
Sasha Szpakowski
2025-05-03 12:51:37 -03:00
parent 375c6f88cd
commit 5e4f3241ac
322 changed files with 54386 additions and 12885 deletions
+12 -18
View File
@@ -8,6 +8,7 @@
#include "alspan.h"
#include "core/bufferline.h"
#include "intrusive_ptr.h"
#include "opthelpers.h"
struct BufferStorage;
struct ContextBase;
@@ -100,15 +101,6 @@ struct ChorusProps {
float Delay;
};
struct FlangerProps {
ChorusWaveform Waveform;
int Phase;
float Rate;
float Depth;
float Feedback;
float Delay;
};
struct CompressorProps {
bool OnOff;
};
@@ -170,11 +162,9 @@ struct VmorpherProps {
VMorpherWaveform Waveform;
};
struct DedicatedDialogProps {
float Gain;
};
struct DedicatedLfeProps {
struct DedicatedProps {
enum TargetType : bool { Dialog, Lfe };
TargetType Target;
float Gain;
};
@@ -187,7 +177,6 @@ using EffectProps = std::variant<std::monostate,
ReverbProps,
AutowahProps,
ChorusProps,
FlangerProps,
CompressorProps,
DistortionProps,
EchoProps,
@@ -196,8 +185,7 @@ using EffectProps = std::variant<std::monostate,
ModulatorProps,
PshifterProps,
VmorpherProps,
DedicatedDialogProps,
DedicatedLfeProps,
DedicatedProps,
ConvolutionProps>;
@@ -206,7 +194,7 @@ struct EffectTarget {
RealMixParams *RealOut;
};
struct EffectState : public al::intrusive_ref<EffectState> {
struct SIMDALIGN EffectState : public al::intrusive_ref<EffectState> {
al::span<FloatBufferLine> mOutTarget;
@@ -221,8 +209,14 @@ struct EffectState : public al::intrusive_ref<EffectState> {
struct EffectStateFactory {
EffectStateFactory() = default;
EffectStateFactory(const EffectStateFactory&) = delete;
EffectStateFactory(EffectStateFactory&&) = delete;
virtual ~EffectStateFactory() = default;
void operator=(const EffectStateFactory&) = delete;
void operator=(EffectStateFactory&&) = delete;
virtual al::intrusive_ptr<EffectState> create() = 0;
};