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 | |
parent | eb84bb454c9a729c72b761b3911e98652879bfb8 (diff) |
Fixed audio stuttering loud annoying repeated segments upon seek. Slight
readjustment of audio prefetch and midi thread priority.
-rw-r--r-- | muse2/ChangeLog | 3 | ||||
-rw-r--r-- | muse2/muse/app.cpp | 8 | ||||
-rw-r--r-- | muse2/muse/main.cpp | 2 |
3 files changed, 8 insertions, 5 deletions
diff --git a/muse2/ChangeLog b/muse2/ChangeLog index 21bdba1d..b5cbc4c6 100644 --- a/muse2/ChangeLog +++ b/muse2/ChangeLog @@ -1,3 +1,6 @@ +20.11.2012: + - Fixed audio stuttering loud annoying repeated segments upon seek. (Tim) + Slight readjustment of audio prefetch and midi thread priority (-5 and -1 instead of +1 and +2). 17.11.2012: * Improved: Deicsonze soft synthesizer: Fixed crash, bugs, added ladspa plugins. (Tim) TODO: No plugin control automation. Some oddities with log slider/entry ranges. Maybe add delay wet/dry. 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 |