Browse Source

Use SDL driver by default on Haiku

Signed-off-by: falkTX <falktx@falktx.com>
pull/1723/head
falkTX 1 year ago
parent
commit
61228ea3b9
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      source/frontend/carla_shared.py

+ 4
- 2
source/frontend/carla_shared.py View File

@@ -293,10 +293,12 @@ CARLA_DEFAULT_AUDIO_BUFFER_SIZE = 512
CARLA_DEFAULT_AUDIO_SAMPLE_RATE = 44100
CARLA_DEFAULT_AUDIO_TRIPLE_BUFFER = False

if WINDOWS:
CARLA_DEFAULT_AUDIO_DRIVER = "Windows Audio"
if HAIKU:
CARLA_DEFAULT_AUDIO_DRIVER = "SDL"
elif MACOS:
CARLA_DEFAULT_AUDIO_DRIVER = "CoreAudio"
elif WINDOWS:
CARLA_DEFAULT_AUDIO_DRIVER = "Windows Audio"
elif os.path.exists("/usr/bin/jackd") or os.path.exists("/usr/bin/jackdbus") or os.path.exists("/usr/bin/pw-jack"):
CARLA_DEFAULT_AUDIO_DRIVER = "JACK"
else:


Loading…
Cancel
Save