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
+9 -6
View File
@@ -10,7 +10,6 @@
#include <optional>
#include <string>
#include "almalloc.h"
#include "alspan.h"
#include "bufferline.h"
#include "buffer_storage.h"
@@ -20,6 +19,7 @@
#include "filters/splitter.h"
#include "mixer/defs.h"
#include "mixer/hrtfdefs.h"
#include "opthelpers.h"
#include "resampler_limits.h"
#include "uhjfilter.h"
#include "vector.h"
@@ -102,7 +102,10 @@ struct VoiceBufferItem {
uint mLoopStart{0u};
uint mLoopEnd{0u};
al::span<std::byte> mSamples{};
al::span<std::byte> mSamples;
protected:
~VoiceBufferItem() = default;
};
@@ -180,7 +183,7 @@ enum : uint {
VoiceFlagCount
};
struct Voice {
struct SIMDALIGN Voice {
enum State {
Stopped,
Playing,
@@ -233,9 +236,9 @@ struct Voice {
ResamplerFunc mResampler{};
InterpState mResampleState{};
InterpState mResampleState;
std::bitset<VoiceFlagCount> mFlags{};
std::bitset<VoiceFlagCount> mFlags;
uint mNumCallbackBlocks{0};
uint mCallbackBlockBase{0};
@@ -277,6 +280,6 @@ struct Voice {
static void InitMixer(std::optional<std::string> resopt);
};
extern Resampler ResamplerDefault;
inline Resampler ResamplerDefault{Resampler::Spline};
#endif /* CORE_VOICE_H */