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 | |
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')
-rw-r--r-- | muse2/muse/app.cpp | 8 | ||||
-rw-r--r-- | muse2/muse/main.cpp | 2 |
2 files changed, 5 insertions, 5 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) diff --git a/muse2/muse/main.cpp b/muse2/muse/main.cpp index 2ee9b60c..ceb245ba 100644 --- a/muse2/muse/main.cpp +++ b/muse2/muse/main.cpp @@ -232,7 +232,7 @@ static void usage(const char* prog, const char* txt) fprintf(stderr, " -A Force inclusion of ALSA midi even if using Jack\n"); fprintf(stderr, " -P n Set audio driver real time priority to n\n"); fprintf(stderr, " (Dummy only, default 40. Else fixed by Jack.)\n"); - fprintf(stderr, " -Y n Force midi real time priority to n (default: audio driver prio +2)\n"); + fprintf(stderr, " -Y n Force midi real time priority to n (default: audio driver prio -1)\n"); fprintf(stderr, "\n"); fprintf(stderr, " -p Don't load LADSPA plugins\n"); #ifdef VST_SUPPORT |