update openal

This commit is contained in:
AzaezelX 2024-06-30 14:35:57 -05:00
parent 62f3b93ff9
commit 6721a6b021
287 changed files with 33851 additions and 27325 deletions

View file

@ -3,6 +3,8 @@
#include <vector>
#include "alspan.h"
using uint = unsigned int;
@ -35,12 +37,12 @@ using uint = unsigned int;
struct PPhaseResampler {
void init(const uint srcRate, const uint dstRate);
void process(const uint inN, const double *in, const uint outN, double *out);
void process(const al::span<const double> in, const al::span<double> out);
explicit operator bool() const noexcept { return !mF.empty(); }
private:
uint mP, mQ, mM, mL;
uint mP{}, mQ{}, mM{}, mL{};
std::vector<double> mF;
};