mirror of
https://github.com/libretro/RetroArch
synced 2025-04-10 15:45:19 +00:00
(Mac) Add CoreAudio3 for Metal x64 and ARM64 builds on buildbot
This commit is contained in:
parent
54e20e2708
commit
b70217b7fc
@ -396,7 +396,7 @@ build-retroarch-metal-osx-x64:
|
|||||||
dependencies: []
|
dependencies: []
|
||||||
script:
|
script:
|
||||||
# Normal RetroArch Metal Build
|
# Normal RetroArch Metal Build
|
||||||
- ./configure --enable-metal --disable-al
|
- ./configure --enable-metal --disable-al --enable-coreaudio3
|
||||||
- make -j$NUMPROC
|
- make -j$NUMPROC
|
||||||
|
|
||||||
# Cleanup for DMG creation
|
# Cleanup for DMG creation
|
||||||
@ -466,7 +466,7 @@ build-retroarch-metal-osx-arm64:
|
|||||||
dependencies: []
|
dependencies: []
|
||||||
script:
|
script:
|
||||||
# Normal RetroArch Metal (ARM64) Build
|
# Normal RetroArch Metal (ARM64) Build
|
||||||
- ./configure --enable-metal --disable-al
|
- ./configure --enable-metal --disable-al --enable-coreaudio3
|
||||||
- make ARCH=arm64 BUILDBOT=1 -j$NUMPROC
|
- make ARCH=arm64 BUILDBOT=1 -j$NUMPROC
|
||||||
|
|
||||||
# Cleanup for DMG creation
|
# Cleanup for DMG creation
|
||||||
|
@ -795,13 +795,16 @@ endif
|
|||||||
# Audio
|
# Audio
|
||||||
|
|
||||||
ifeq ($(HAVE_COREAUDIO), 1)
|
ifeq ($(HAVE_COREAUDIO), 1)
|
||||||
|
DEFINES += -DHAVE_COREAUDIO
|
||||||
OBJ += audio/drivers/coreaudio.o
|
OBJ += audio/drivers/coreaudio.o
|
||||||
HAVE_COREAUDIO_LIBS = 1
|
HAVE_COREAUDIO_LIBS = 1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(HAVE_COREAUDIO3), 1)
|
ifeq ($(HAVE_COREAUDIO3), 1)
|
||||||
|
DEFINES += -DHAVE_COREAUDIO3
|
||||||
OBJ += audio/drivers/coreaudio3.o
|
OBJ += audio/drivers/coreaudio3.o
|
||||||
HAVE_COREAUDIO_LIBS = 1
|
HAVE_COREAUDIO_LIBS = 1
|
||||||
|
LIBS += -framework AudioToolBox -framework AVFoundation
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(HAVE_COREAUDIO_LIBS), 1)
|
ifeq ($(HAVE_COREAUDIO_LIBS), 1)
|
||||||
|
@ -23,6 +23,7 @@
|
|||||||
#include <memory.h>
|
#include <memory.h>
|
||||||
|
|
||||||
#include "../../retroarch.h"
|
#include "../../retroarch.h"
|
||||||
|
#include "../../verbosity.h"
|
||||||
|
|
||||||
#pragma mark - ringbuffer
|
#pragma mark - ringbuffer
|
||||||
|
|
||||||
|
@ -118,6 +118,7 @@ HAVE_ROAR=auto # RoarAudio support
|
|||||||
HAVE_AL=auto # OpenAL support
|
HAVE_AL=auto # OpenAL support
|
||||||
HAVE_JACK=auto # JACK support
|
HAVE_JACK=auto # JACK support
|
||||||
HAVE_COREAUDIO=auto # CoreAudio support
|
HAVE_COREAUDIO=auto # CoreAudio support
|
||||||
|
HAVE_COREAUDIO3=no # CoreAudio3 support
|
||||||
HAVE_PULSE=auto # PulseAudio support
|
HAVE_PULSE=auto # PulseAudio support
|
||||||
C89_PULSE=no
|
C89_PULSE=no
|
||||||
HAVE_FREETYPE=auto # FreeType support
|
HAVE_FREETYPE=auto # FreeType support
|
||||||
|
Loading…
x
Reference in New Issue
Block a user