[Core] Improve iOS compilation workflow

This commit is contained in:
wheremyfoodat 2025-03-05 02:31:09 +02:00
parent 0a65519867
commit ebefbdc4db
4 changed files with 969 additions and 3 deletions

View file

@ -4,4 +4,6 @@
#define MA_NO_ENCODING
#define MINIAUDIO_IMPLEMENTATION
#include "miniaudio.h"
#ifndef PANDA3DS_IOS
#include "miniaudio.h"
#endif

View file

@ -0,0 +1,8 @@
// We do not need the ability to be able to encode or decode audio files for the time being
// So we disable said functionality to make the executable smaller.
#define MA_NO_DECODING
#define MA_NO_ENCODING
#define MINIAUDIO_IMPLEMENTATION
// On iOS we have to compile miniaudio as Obj-C
#include "miniaudio.h"