You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-23 15:16:17 +00:00
Added new audio device functions to set/get the audio device
This commit is contained in:
@@ -234,10 +234,10 @@ def configure(env):
|
||||
print("ALSA libraries not found, disabling driver")
|
||||
|
||||
if env['pulseaudio']:
|
||||
if (os.system("pkg-config --exists libpulse-simple") == 0): # 0 means found
|
||||
if (os.system("pkg-config --exists libpulse") == 0): # 0 means found
|
||||
print("Enabling PulseAudio")
|
||||
env.Append(CPPFLAGS=["-DPULSEAUDIO_ENABLED"])
|
||||
env.ParseConfig('pkg-config --cflags --libs libpulse-simple')
|
||||
env.ParseConfig('pkg-config --cflags --libs libpulse')
|
||||
else:
|
||||
print("PulseAudio development libraries not found, disabling driver")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user