From c09ca5c661d91f99d63439e54d0928badf14ce1c Mon Sep 17 00:00:00 2001
From: SeeLook <945374+SeeLook@users.noreply.github.com>
Date: Sat, 9 May 2015 16:48:44 +0200
Subject: [PATCH] Prefered JACK over Pulse, Pulse can be bypassed if no JACK
 but its switch is set

---
 src/libs/sound/trtaudio.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/libs/sound/trtaudio.cpp b/src/libs/sound/trtaudio.cpp
index a94208498..ec9c7d775 100755
--- a/src/libs/sound/trtaudio.cpp
+++ b/src/libs/sound/trtaudio.cpp
@@ -68,7 +68,7 @@ void TrtAudio::createRtAudio() {
 #endif
 #if defined(__LINUX_PULSE__)
       QFileInfo pulseBin("/usr/bin/pulseaudio");
-      if (pulseBin.exists()) // we check is PA possible to run - without check, it can hang over.
+      if (!m_JACKorASIO && pulseBin.exists()) // we check is PA possible to run - without check, it can hang over.
 				rtAPI = RtAudio::LINUX_PULSE;
 #endif
     try {
-- 
GitLab