1
0
mirror of https://github.com/libretro/RetroArch synced 2025-03-31 19:21:06 +00:00

(Mac) Add CoreAudio3 for Metal x64 and ARM64 builds on buildbot

This commit is contained in:
twinaphex 2021-02-17 05:20:51 +01:00
parent 54e20e2708
commit b70217b7fc
4 changed files with 7 additions and 2 deletions

@ -396,7 +396,7 @@ build-retroarch-metal-osx-x64:
dependencies: []
script:
# Normal RetroArch Metal Build
- ./configure --enable-metal --disable-al
- ./configure --enable-metal --disable-al --enable-coreaudio3
- make -j$NUMPROC
# Cleanup for DMG creation
@ -466,7 +466,7 @@ build-retroarch-metal-osx-arm64:
dependencies: []
script:
# Normal RetroArch Metal (ARM64) Build
- ./configure --enable-metal --disable-al
- ./configure --enable-metal --disable-al --enable-coreaudio3
- make ARCH=arm64 BUILDBOT=1 -j$NUMPROC
# Cleanup for DMG creation

@ -795,13 +795,16 @@ endif
# Audio
ifeq ($(HAVE_COREAUDIO), 1)
DEFINES += -DHAVE_COREAUDIO
OBJ += audio/drivers/coreaudio.o
HAVE_COREAUDIO_LIBS = 1
endif
ifeq ($(HAVE_COREAUDIO3), 1)
DEFINES += -DHAVE_COREAUDIO3
OBJ += audio/drivers/coreaudio3.o
HAVE_COREAUDIO_LIBS = 1
LIBS += -framework AudioToolBox -framework AVFoundation
endif
ifeq ($(HAVE_COREAUDIO_LIBS), 1)

@ -23,6 +23,7 @@
#include <memory.h>
#include "../../retroarch.h"
#include "../../verbosity.h"
#pragma mark - ringbuffer

@ -118,6 +118,7 @@ HAVE_ROAR=auto # RoarAudio support
HAVE_AL=auto # OpenAL support
HAVE_JACK=auto # JACK support
HAVE_COREAUDIO=auto # CoreAudio support
HAVE_COREAUDIO3=no # CoreAudio3 support
HAVE_PULSE=auto # PulseAudio support
C89_PULSE=no
HAVE_FREETYPE=auto # FreeType support