16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-22 18:39:18 +02:00

audio: use native OpenAL Soft typedefs, drop local token fallbacks

Now that ref/openal ships a current alext.h, include it and use the real
LPALC*SOFT / ALCEVENTPROCTYPESOFT typedefs instead of hand-rolled function
pointer types and #define'd ALC_* tokens. The event callback is marked
ALC_APIENTRY + noexcept to match ALCEVENTPROCTYPESOFT. No behaviour change.
This commit is contained in:
maj00r
2026-07-04 15:33:32 +02:00
parent 6b97268014
commit 3d6c45cd00
3 changed files with 19 additions and 36 deletions

View File

@@ -15,6 +15,7 @@ http://mozilla.org/MPL/2.0/.
#else
#include <AL/al.h>
#include <AL/alc.h>
#include <AL/alext.h>
#endif
namespace audio {