[X2Go-Dev] parec?

Oleksandr Shneyder oleksandr.shneyder at obviously-nice.de
Wed Nov 21 15:50:19 CET 2012


Hm,

The reason was buggy pulseaudio on windows. If you don't use input
device at several first seconds, input will not work any more. I know,
it is a dirty hack to start parec for 1 sec., but it works. Originally,
this code should be executed only on windows. I don't know which patch
have changed this behaviour. I'll fix it. Thank you for your report, Morty.

regards,
Alex

Am 21.11.2012 09:21, schrieb Moritz Struebe:
> Hi Alex, Mike(?)
> 
> I just saw parec running and producing unneeded traffic.
> 
> In onmainwindow.cpp:10577ff it says:    
>                 QString scmd="PULSE_CLIENTCONFIG=~/.x2go/C-"+
>                  resumingSession.sessionId+
>                  "/.pulse-client.conf "+
>                  "parec 1> /dev/null & sleep 1 && kill %1";
> 
> What is the rationale behind this code? As far as I understand it, parec
> is supposed to run for one second. I'm not sure that that is what the
> code does.
> 
> Cheers
> Morty
> 
> 
> 
> 
> 
> 
> _______________________________________________
> X2Go-Dev mailing list
> X2Go-Dev at lists.berlios.de
> https://lists.berlios.de/mailman/listinfo/x2go-dev


-- 
Oleksandr Shneyder
Dipl. Informatik
X2go Core Developer Team

email:  oleksandr.shneyder at obviously-nice.de
web: www.obviously-nice.de

--> X2go - everywhere at home

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.x2go.org/pipermail/x2go-dev/attachments/20121121/ff2e20a1/attachment.pgp>


More information about the x2go-dev mailing list