Try to avoid collision with CoreAudio on macOS

This commit is contained in:
Ray 2019-07-23 23:08:29 +02:00
commit 2cb3b91913

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;