[X2Go-Dev] Bug#526: Bug#526: Included PulseAudio consumes too much CPU when launched with high priority
Nable 80
nable.maininbox at googlemail.com
Sun Jun 29 17:47:44 CEST 2014
Hi Mike!
> Our PA expert will take a look at that (I hope!).
I've attached possible workaround, although I'm not sure if it's acceptable.
-------------- next part --------------
diff --git a/onmainwindow.cpp b/onmainwindow.cpp
index d4fef23..1a6997b 100644
--- a/onmainwindow.cpp
+++ b/onmainwindow.cpp
@@ -9799,7 +9799,7 @@ void ONMainWindow::startPulsed()
if (QFile::exists(homeDir+"/.x2go/pulse/.pulse/"+QHostInfo::localHostName ()+"-runtime/pid"))
QFile::remove(homeDir+"/.x2go/pulse/.pulse/"+QHostInfo::localHostName ()+"-runtime/pid");
pulseDir.replace("/","\\");
- pulseArgs<<"--exit-idle-time=-1"<<"-n"<<"-F"<<pulseDir+"\\config.pa";
+ pulseArgs<<"--high-priority=no"<<"--exit-idle-time=-1"<<"-n"<<"-F"<<pulseDir+"\\config.pa";
if (debugging)
pulseArgs<<"--log-level=debug"<<"--verbose"<<"--log-target=file:"+pulseDir+"\\pulse.log";
#else
More information about the x2go-dev
mailing list