mirror of
https://github.com/wheremyfoodat/Panda3DS.git
synced 2025-06-09 04:21:38 +12:00
[Core] Improve iOS compilation workflow
This commit is contained in:
parent
0a65519867
commit
ebefbdc4db
4 changed files with 969 additions and 3 deletions
|
@ -4,4 +4,6 @@
|
|||
#define MA_NO_ENCODING
|
||||
#define MINIAUDIO_IMPLEMENTATION
|
||||
|
||||
#include "miniaudio.h"
|
||||
#ifndef PANDA3DS_IOS
|
||||
#include "miniaudio.h"
|
||||
#endif
|
8
src/miniaudio/miniaudio.m
Normal file
8
src/miniaudio/miniaudio.m
Normal 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"
|
Loading…
Add table
Add a link
Reference in a new issue