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
> [email protected]
> https://lists.berlios.de/mailman/listinfo/x2go-dev


-- 
Oleksandr Shneyder
Dipl. Informatik
X2go Core Developer Team

email:  [email protected]
web: www.obviously-nice.de

--> X2go - everywhere@home

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
X2Go-Dev mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/x2go-dev

Reply via email to