From 65d25748db096ca216f00e9cf78c72003f399edc Mon Sep 17 00:00:00 2001 From: InviseDivine Date: Mon, 9 Mar 2026 21:15:55 +0200 Subject: [PATCH] no sound define --- src/client/sound/SoundEngine.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/client/sound/SoundEngine.h b/src/client/sound/SoundEngine.h index 1a59497..b09113b 100755 --- a/src/client/sound/SoundEngine.h +++ b/src/client/sound/SoundEngine.h @@ -2,10 +2,9 @@ #define NET_MINECRAFT_CLIENT_SOUND__SoundEngine_H__ //package net.minecraft.client.sound; - #if defined(ANDROID) && !defined(PRE_ANDROID23) #include "../../platform/audio/SoundSystemSL.h" -#elif defined(__APPLE__) || defined (PLATFORM_DESKTOP) +#elif (defined(__APPLE__) || defined (PLATFORM_DESKTOP)) && !defined(NO_SOUND) #include "../../platform/audio/SoundSystemAL.h" #else #include "../../platform/audio/SoundSystem.h" @@ -23,7 +22,7 @@ class SoundEngine #if defined(ANDROID) && !defined(PRE_ANDROID23) && !defined(RPI) SoundSystemSL soundSystem; - #elif defined(__APPLE__) || defined (PLATFORM_DESKTOP) + #elif (defined(__APPLE__) || defined (PLATFORM_DESKTOP)) && !defined(NO_SOUND) SoundSystemAL soundSystem; #else SoundSystem soundSystem;