Jon, On Wed, Oct 18, 2006 at 11:00:44AM +0100, Jon Stockill wrote: > Holger Wirtz wrote: > > Hi Oliver, > > > > On Wed, Oct 18, 2006 at 10:49:37AM +0200, Oliver Schroeder wrote: > > [...] > >>> I have much experience with video and teleconferences and there you every > >>> a problem with such implementations. If I transfer this to home > >>> simulator flying there you have trouble with background noise (e.g. the > >>> kids have a dispute, the wife is shouting "Suppers ready!" and so on). > >>> Sometimes the mics are to near towards the nose and you hear every > >>> breath... this is not nice :-( . Or you hear music in the background... > >>> > >>> What you should have in mind too: Some voice codes transfer very few > >>> packets when the mic is muted. > >>> > >>> I think it is more realistic AND for the reason of clean radio frq. that > >>> there is a mic button reachable from inside fgfs. > >> In that case I think the easiest (and cleanest) way is to let fgfs > >> un-/mute > >> the mic on keypress. > > > > Yes, this seems to be the easiest way. But I don't know how this > > interacts with the audio stack in the external communication client > > (alsa/libaudio/jack-based). How is the sound organized in fgfs? When it > > is alsa based I can disable libaudio and jack and then this should work. > > > > Can you give me hints where to find the sound and the input module? Or > > can someone of the core hackers integrate such function? > > > >> If you really want to pass a keypress to another application you need to > >> use > >> shared memory, semaphores or network communication. All methods are very > >> ugly. > > > > Hm, yes... not really nice. But if this works better I would prefer > > this. > > Since you're already having to transfer radio frequency data from > flightgear why not just create a PTT property in the tree and transfer > that too? That property could then be updated by joystick buttons, key > mappings, etc and you only need to check for it in one place.
Hm, yes. This should work, because I need to poll about 3 times a second for getting the new frq for the com1. The problem is: I have no idea how to implement this in fgfs. Is there someone around who can do this? Regards, Holger -- ##### #### ## ## Holger Wirtz Phone : (+49 30) 884299-40 ## ## ## ### ## DFN-Verein Fax : (+49 30) 884299-70 ## ## #### ###### Stresemannstr. 78 E-Mail: [EMAIL PROTECTED] ## ## ## ## ### 10963 Berlin ##### ## ## ## GERMANY WWW : http://www.dfn.de GPG-Fingerprint: ABFA 1F51 DD8D 503C 85DC 0C51 E961 79E2 6685 9BCF ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel