1
0
Fork 0
Commit graph

445 commits

Author SHA1 Message Date
Torsten Dreyer
7294999f35 Prevent 100% CPU usage for FGCom standalone
Kévin Seroux:
As reported here (http://forum.flightgear.org/viewtopic.php?f=32&t=26629),
the FGCom standalone client use 100% of the CPU when it is in OBS mode. The fact to add the shortest sleep time
(1ms) has solved the problem. With this patch, I run FGCom with 1% of CPU usage instead of 100%.
2015-08-06 21:47:01 +02:00
Torsten Dreyer
1ad81ee94e Silence some warnings
AIBallistic: wrong order of member initialization
Other: unused variables
2015-05-29 10:27:25 +02:00
Rebecca N. Palmer
659c5b9676 Fix spelling 2015-04-06 10:28:10 +01:00
Rebecca N. Palmer
14405fe2e3 Fix compile with CMake 3.2.1, by Kevin Seroux
Explicitly link X11, as this no longer comes with OpenGL
2015-04-03 19:15:52 +01:00
Stuart Buchanan
bcfa16b84a stgmerge enhancements
Various stgmerge enhancements to make it functional:
- Now runs against an entire tile directory, reading each stg file
- optionally optimizes the mesh (untested)
- outputs to a second directory
- control over the size of merged meshes
2015-02-22 21:37:18 +00:00
Stuart Buchanan
9f0eceae6e Initial checkin of stgmerge 2015-01-18 20:10:05 +00:00
radi
82ccaa7429 add command line option --expire to fgelev, overriding the hardcoded
default of 10 if given.

This improves performance _a lot_ if massively probing across
a bucket border as it prevents constant terrain unloading/reloading.
2014-10-06 11:23:27 +02:00
Clément de l'Hamaide
b0b272e4d2 New FGCom standalone re-wrote from scratch
- positions.txt and special.txt are integrated in the binary
- Reduce CPU load
- New mode: OBS for listening a frequency
- Source code ready to be used with another library
- Support for COM1 and COM2
- Fix bug where frequencies conflict avoid switching between similar frequency in range
- Better logging information and debug information
- Range depends on altitude
2014-08-19 20:46:42 +02:00
Torsten Dreyer
4f91a31f05 Quick and dirty repair of linux build with RTI enabled 2014-08-17 22:36:19 +02:00
Stuart Buchanan
b654477794 New materials.xml format 2014-08-09 20:43:34 +01:00
Clément de l'Hamaide
5743ae48eb Better variable initialization, thanks to Torsten for reporting it 2014-05-08 19:28:20 +02:00
Clément de l'Hamaide
b9bd6e7bf3 fgadmin: add C string header 2014-05-02 20:31:52 +02:00
Clément de l'Hamaide
6d6e45274f FGadmin: fix compilation, move CMake stuff to better place, remove old ./configure system 2014-04-30 20:34:05 +02:00
James Turner
2d5d43a57d Rename GPSsmooth files.
- avoid confusion with GPS instrument files.
2014-03-16 22:35:00 +00:00
James Turner
44242df377 Fix standalone terrasync build
- code from SGTerraSync now lives here. This is not a great approach,
since this tool can only schedule based on position, but no worse than
before.
2014-02-25 09:15:08 +00:00
Clément de l'Hamaide
d9e8abcc99 FGCom: change default silence threshold 2014-02-04 12:18:50 +01:00
James Turner
b7a9aee796 FGViewer fixes
- ensure active material are cached
 - clear osgDB object cache on exit explicitly
2014-01-29 10:10:53 +00:00
Clément de l'Hamaide
3254f54f9e FGCom: add silence threshold setting
Require commit 1396848dcf31d181ab740c8eb728cff02f06fd3d from fgdata
2014-01-26 16:38:48 +01:00
James Turner
ce3a7b20fe Crash-fix: mat-lib is now reference-counted.
Adapt to corresponding SG change to make SGMaterialLib be ref-counted,
and have the 'reload-materials' command notify the tile-manager of this,
so it can update the options struct it passes to new tiles.
2014-01-19 16:49:44 +00:00
Clément de l'Hamaide
606643a199 FGCom: update special_frq for built-in/standalone sync 2014-01-12 21:17:57 +01:00
Clément de l'Hamaide
c9a0a50847 Delete unused variable 2013-12-24 11:22:24 +01:00
Clément de l'Hamaide
4fc6c8a54d FGCom standalone: update positions.txt 2013-12-23 14:04:21 +01:00
Clément de l'Hamaide
0687a1c1b2 gen_phonebook.pl: skip 8.33KHz from apt.dat + fgcom.conf update 2013-12-22 20:21:42 +01:00
Clément de l'Hamaide
f650fe5abd Remove specific hack while testing period 2013-12-21 15:48:25 +01:00
Clément de l'Hamaide
6c683945f0 FGCom standalone: .txt destination can be tweaked with -DFGCOM_DATA_PATH 2013-11-27 13:48:14 +01:00
Clément de l'Hamaide
7e90c8aa2b Force 32 bits depth on .ico - only for Windows 2013-11-14 21:24:56 +01:00
Clément de l'Hamaide
1c49890bec Icons update 2013-11-13 22:49:07 +01:00
James Turner
44ed1f293d Fix standalone terrasync build 2013-11-13 00:16:28 +00:00
Clément de l'Hamaide
95679e6d76 Fix gen_phonebook.pl for airport at negative altitude 2013-11-12 22:41:08 +01:00
Clément de l'Hamaide
1b6ec7d149 Upgrade fgcom.conf with apt.dat 2013-10 2013-11-12 22:40:19 +01:00
Clément de l'Hamaide
1ac8cef11a Upgrade positions.txt with apt.dat 2013-10 2013-11-12 22:33:08 +01:00
Clément de l'Hamaide
b045dcf0f1 FGCom-sa: force console output 2013-11-07 22:49:42 +01:00
Clément de l'Hamaide
79e93918e0 Icons modifications
- Add some fgcom-*.png for desktop shortcut
- Remove duplicate .gif files
- Change FGCom icon
2013-11-03 21:29:30 +01:00
Clément de l'Hamaide
4b2fcaa685 Missing line for FGCom icon 2013-10-31 20:14:48 +01:00
Clément de l'Hamaide
ab38969274 Add an FGCom icon from fgcomgui (under GPL) 2013-10-31 14:07:31 +01:00
Clément de l'Hamaide
1970a8e0a8 FGCom: allow ulaw codec too 2013-10-28 21:56:27 +01:00
janodesbois
ecfdf354f1 considering u,v,wbody-fps are the ECEF velocity expressed in body axis, change in all functions/variables name dealing with them, wrongly named with wind, or even north, east, down. 2013-10-27 13:24:54 +01:00
Clément de l'Hamaide
d5b70e98e0 FGCom[-sa]: add IAX denoiser and auto gain + set silence threshold 2013-10-26 13:18:08 +02:00
Clément de l'Hamaide
fde46e7ee3 FGCom-sa: remove commented lines 2013-10-26 01:51:56 +02:00
Clément de l'Hamaide
4fbff4f004 FGCom-sa: use only COM1 and COM2 + special frequencies require to mute speaker 2013-10-26 01:50:19 +02:00
Clément de l'Hamaide
6332693ae5 FGCom: use Speex codec instead of GSM codec 2013-10-24 12:14:31 +02:00
James Turner
e81df0df1f Fix FGViewer compilation when HLA is disabled.
Changed definition in config_cmake.in means #ifdef is no longer
a valid test; use #if instead.
2013-10-20 15:56:33 +01:00
Clément de l'Hamaide
e0c97199e6 fgcom-sa: remove plib, zlib, win dependencies 2013-10-12 19:20:45 +02:00
Clément de l'Hamaide
5d17864d30 FGCom standalone: search *.txt as relative path 2013-09-28 22:45:07 +02:00
Clément de l'Hamaide
586fd45b08 Install required file by fgcom in the common share/ directory 2013-09-27 20:24:42 +02:00
Clément de l'Hamaide
c022bb8d51 Move IAXClient library into 3rdparty directory
Remove ENABLE_IAX option
Add an improved FGCom standalone as part of FG in utils directory
2013-09-27 16:05:45 +02:00
Clément de l'Hamaide
fc25f29d3c Fix Windows warning during Windows compilation
Make sure OpenAL context is setup before opening capture device
2013-09-27 15:37:07 +02:00
James Turner
66423605f1 GCC 4.7 compile fix.
Addresses:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667167
2013-09-14 17:39:42 +01:00
Clément de l'Hamaide
467783bd45 Clean FGCom logging and fix IAX input level 2013-08-24 17:51:03 +02:00
f-jjth
f24c4df73f Improve OpenAL driver for IAXClient
Abort OpenAL initialization if input device are not found in this way we don't create and merge new OpenAL context with SGSoundMgr
Close OpenAL context and input device when FG is stopped
2013-08-19 14:39:18 +02:00