Skip to content

Commit

Permalink
Allow to run mod-desktop without RT prio
Browse files Browse the repository at this point in the history
Signed-off-by: falkTX <[email protected]>
  • Loading branch information
falkTX committed Mar 16, 2024
1 parent d69bc8f commit 1066a0b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 21 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/irc.yml

This file was deleted.

6 changes: 5 additions & 1 deletion common/JackModDesktopDriver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1066a0b

Please sign in to comment.