mirror of
https://github.com/love2d/megasource.git
synced 2026-08-21 05:02:11 +02:00
update OpenAL-Soft to 1.24.3.
This commit is contained in:
@@ -2,20 +2,23 @@
|
||||
#define ALU_H
|
||||
|
||||
#include <bitset>
|
||||
#include <cstdint>
|
||||
#include <optional>
|
||||
#include <stdint.h>
|
||||
|
||||
struct ALCcontext;
|
||||
struct ALCdevice;
|
||||
struct EffectSlot;
|
||||
|
||||
enum class StereoEncoding : uint8_t;
|
||||
enum class StereoEncoding : std::uint8_t;
|
||||
|
||||
namespace al {
|
||||
struct Device;
|
||||
} // namespace al
|
||||
|
||||
constexpr float GainMixMax{1000.0f}; /* +60dB */
|
||||
|
||||
|
||||
enum CompatFlags : uint8_t {
|
||||
enum CompatFlags : std::uint8_t {
|
||||
ReverseX,
|
||||
ReverseY,
|
||||
ReverseZ,
|
||||
@@ -31,7 +34,7 @@ void aluInit(CompatFlagBitset flags, const float nfcscale);
|
||||
* Set up the appropriate panning method and mixing method given the device
|
||||
* properties.
|
||||
*/
|
||||
void aluInitRenderer(ALCdevice *device, int hrtf_id, std::optional<StereoEncoding> stereomode);
|
||||
void aluInitRenderer(al::Device *device, int hrtf_id, std::optional<StereoEncoding> stereomode);
|
||||
|
||||
void aluInitEffectPanning(EffectSlot *slot, ALCcontext *context);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user