Try to avoid collision with CoreAudio on macOS

This commit is contained in:
Ray 2019-07-23 23:08:29 +02:00
parent 2433f30b4b
commit 2cb3b91913
2 changed files with 3 additions and 1 deletions

View file

@ -214,6 +214,8 @@ struct rAudioBuffer {
unsigned char *buffer;
};
#define AudioBuffer rAudioBuffer // HACK: To avoid CoreAudio (macOS) symbol collision
// miniaudio global variables
static ma_context context;
static ma_device device;