diff options
author | Tim E. Real <termtech@rogers.com> | 2012-11-20 21:28:04 +0000 |
---|---|---|
committer | Tim E. Real <termtech@rogers.com> | 2012-11-20 21:28:04 +0000 |
commit | e9600a1fe0d09d9c76e7885e796de5a9420e9f92 (patch) | |
tree | 76798afc5064cda61bc8906660fe28dafd7e8cdd /muse2/muse/app.cpp | |
parent | eb84bb454c9a729c72b761b3911e98652879bfb8 (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.cpp | 8 |
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) |