Skip to content

Commit

Permalink
ruby: Add SDL audio for macOS (#1427)
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
jcm93 and jcm authored Mar 27, 2024
1 parent a29cd2c commit 7be6217
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ruby/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 7be6217

Please sign in to comment.