From a36f4dc131eda733c1078c8ee1a74deb97f535c7 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Thu, 21 Nov 2024 23:22:17 -0500 Subject: [PATCH] Make RtAudio return UTF-8 device names on Windows and Mac. --- dep/Makefile | 2 ++ dep/rtaudio | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/dep/Makefile b/dep/Makefile index fc031df0..5b35bb95 100755 --- a/dep/Makefile +++ b/dep/Makefile @@ -223,6 +223,8 @@ RTAUDIO_FLAGS += -DRTAUDIO_API_ASIO=OFF endif endif +# RtAudio on Windows and Mac uses these macros to enable UTF-8 device names +$(rtaudio): export CXXFLAGS += -DUNICODE -D_UNICODE $(rtaudio): | rtaudio cd rtaudio && mkdir -p build cd rtaudio/build && $(CMAKE) $(RTAUDIO_FLAGS) .. diff --git a/dep/rtaudio b/dep/rtaudio index b09307ac..22d64cdc 160000 --- a/dep/rtaudio +++ b/dep/rtaudio @@ -1 +1 @@ -Subproject commit b09307ac19de6c51c6410c35f655aad031133d75 +Subproject commit 22d64cdcb151e388791caceee8aa0011a6aa46e0