summaryrefslogtreecommitdiff
path: root/muse2/muse/app.cpp
diff options
context:
space:
mode:
authorTim E. Real <termtech@rogers.com>2012-11-20 21:28:04 +0000
committerTim E. Real <termtech@rogers.com>2012-11-20 21:28:04 +0000
commite9600a1fe0d09d9c76e7885e796de5a9420e9f92 (patch)
tree76798afc5064cda61bc8906660fe28dafd7e8cdd /muse2/muse/app.cpp
parenteb84bb454c9a729c72b761b3911e98652879bfb8 (diff)
Fixed audio stuttering loud annoying repeated segments upon seek. Slight
readjustment of audio prefetch and midi thread priority.
Diffstat (limited to 'muse2/muse/app.cpp')
-rw-r--r--muse2/muse/app.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/muse2/muse/app.cpp b/muse2/muse/app.cpp
index 0286fc2c..e0fffd4d 100644
--- a/muse2/muse/app.cpp
+++ b/muse2/muse/app.cpp
@@ -177,10 +177,10 @@ bool MusE::seqStart()
// in JackAudioDevice::realtimePriority() which is a bit flawed - it reports there's no RT...
if(MusEGlobal::realTimeScheduling)
{
- {
- pfprio = MusEGlobal::realTimePriority + 1;
- midiprio = MusEGlobal::realTimePriority + 2;
- }
+ if(MusEGlobal::realTimePriority - 5 >= 0)
+ pfprio = MusEGlobal::realTimePriority - 5;
+ if(MusEGlobal::realTimePriority - 1 >= 0)
+ midiprio = MusEGlobal::realTimePriority - 1;
}
if(MusEGlobal::midiRTPrioOverride > 0)