From 1066a0b45e561055535cdea6df511c4193eb0e6b Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 16 Mar 2024 23:40:56 +0100 Subject: [PATCH] Allow to run mod-desktop without RT prio Signed-off-by: falkTX --- .github/workflows/irc.yml | 20 -------------------- common/JackModDesktopDriver.cpp | 6 +++++- 2 files changed, 5 insertions(+), 21 deletions(-) delete mode 100644 .github/workflows/irc.yml diff --git a/.github/workflows/irc.yml b/.github/workflows/irc.yml deleted file mode 100644 index d248c616f..000000000 --- a/.github/workflows/irc.yml +++ /dev/null @@ -1,20 +0,0 @@ -name: irc - -on: [push] - -jobs: - notification: - runs-on: ubuntu-latest - name: IRC notification - steps: - - name: Format message - id: message - run: | - message="${{ github.actor }} pushed $(echo '${{ github.event.commits[0].message }}' | head -n 1) ${{ github.event.commits[0].url }}" - echo ::set-output name=message::"${message}" - - name: IRC notification - uses: Gottox/irc-message-action@v2 - with: - channel: '#jack' - nickname: jackaudio-bot - message: ${{ steps.message.outputs.message }} diff --git a/common/JackModDesktopDriver.cpp b/common/JackModDesktopDriver.cpp index 4c80a46ae..9eebd1c14 100644 --- a/common/JackModDesktopDriver.cpp +++ b/common/JackModDesktopDriver.cpp @@ -418,7 +418,11 @@ class ModDesktopAudioDriver : public JackAudioDriver #endif fIsProcessing = fIsRunning = true; - return JackThread::StartImp(&fProcessThread, 80, 1, on_process, this); + + if (JackThread::StartImp(&fProcessThread, 80, 1, on_process, this) == 0) + return true; + + return JackThread::StartImp(&fProcessThread, 0, 0, on_process, this); } int Stop() override