]> git.mxchange.org Git - flightgear.git/commit
- Fixed mk-viii sound sample loader: missing "/".
authorThorsten Brehm <brehm@patagonia.southamerica>
Thu, 30 Sep 2010 21:18:13 +0000 (23:18 +0200)
committerThorsten Brehm <brehm@patagonia.southamerica>
Thu, 30 Sep 2010 21:18:13 +0000 (23:18 +0200)
commitc7423cbcead596b96448877bd371a7187d690642
tree33afd5995d7d33a0a76a387e158866a59b53ba13
parent5ed04a6227273c57d18f719f0bafb5009ec5792c
- Fixed mk-viii sound sample loader: missing "/".
- Fixed triggering of debug assertion "altitude_callout_voice != NULL" when
  altitude callouts were delayed by higher priority warnings.
- Fixed performance bug: MK_VIII::IOHandler::TerrainClearanceFilter::update
  sucked CPU time (top #12 in profiler), due to complex "moving average"
  calculation on a queue of hundreds/thousands of altitude samples.
  Also, pausing the sim caused this queue to grow excessively (by one sample
  per update loop) => resuming the sim after pausing it for a long time
  resulted in the TerrainClearanceFilter sucking even more CPU time...
  => Number of altitude samples is now limited to 5 samples/sim-time-second
  (still more than enough to calculate a stable average).
src/Instrumentation/mk_viii.cxx
src/Instrumentation/mk_viii.hxx