mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-07 12:01:50 +00:00
fix: macos uses OpenAL.Framework instead of openal-soft
This commit is contained in:
parent
20155b88d0
commit
cd537cc1cb
3 changed files with 8 additions and 15 deletions
|
|
@ -11,15 +11,9 @@
|
|||
#include "audio/audio.hpp"
|
||||
#include "audio/effects.hpp"
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <OpenAL/al.h>
|
||||
#include <OpenAL/alc.h>
|
||||
#include <OpenAL/alext.h>
|
||||
#else
|
||||
#include <AL/al.h>
|
||||
#include <AL/alc.h>
|
||||
#include <AL/alext.h>
|
||||
#endif
|
||||
|
||||
namespace audio {
|
||||
struct ALBuffer;
|
||||
|
|
|
|||
|
|
@ -1,17 +1,12 @@
|
|||
#pragma once
|
||||
|
||||
#include "typedefs.hpp"
|
||||
|
||||
#include <cstdint>
|
||||
#include <string>
|
||||
#include <type_traits>
|
||||
|
||||
#include "typedefs.hpp"
|
||||
|
||||
#ifdef __APPLE__
|
||||
#include <OpenAL/al.h>
|
||||
#else
|
||||
#include <AL/al.h>
|
||||
#endif
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
|
||||
#define AL_CHECK(STATEMENT) \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue