From 7be62171025c785708eb47fdf50147a7b6434f85 Mon Sep 17 00:00:00 2001 From: jcm Date: Wed, 27 Mar 2024 03:01:56 -0500 Subject: [PATCH] ruby: Add SDL audio for macOS (#1427) Exposes the option to use SDL's audio backend on macOS. The wiring for this is already fully present, just needs to be added to builds. Good to have another option for Mac audio for anyone having issues with the OpenAL backend. Tested locally and verified to work in the Metal dev branch. Co-authored-by: jcm --- ruby/GNUmakefile | 1 + 1 file changed, 1 insertion(+) diff --git a/ruby/GNUmakefile b/ruby/GNUmakefile index 7f7c899ef3..00633adc96 100644 --- a/ruby/GNUmakefile +++ b/ruby/GNUmakefile @@ -26,6 +26,7 @@ ifeq ($(ruby),) ifeq ($(wildcard $(macsdl)),) $(error Tried to compile ruby for macOS with SDL2 linked, but no SDL2 library was found. Compile it with thirdparty/SDL/build-sdl.sh, or disable SDL by compiling ares with sdl2=false) endif + ruby += audio.sdl ruby += input.sdl endif else ifeq ($(platform),linux)