From 7749794d6be3159e33deba6064c126a7a44a69cd Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 12 May 2022 17:26:30 +0400 Subject: [PATCH] Update OpenAL to fix macOS audio recording. --- Telegram/build/prepare/prepare.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Telegram/build/prepare/prepare.py b/Telegram/build/prepare/prepare.py index 546144960..4fd51bd5a 100644 --- a/Telegram/build/prepare/prepare.py +++ b/Telegram/build/prepare/prepare.py @@ -970,8 +970,9 @@ win: release: cmake --build build --config RelWithDebInfo --parallel mac: - git clone -b 1.22.0 https://github.com/kcat/openal-soft.git + git clone https://github.com/kcat/openal-soft.git cd openal-soft + git checkout af8e756d CFLAGS=$UNGUARDED CPPFLAGS=$UNGUARDED cmake -B build . \\ -D CMAKE_INSTALL_PREFIX:PATH=$USED_PREFIX \\ -D ALSOFT_EXAMPLES=OFF \\