]> git.mxchange.org Git - flightgear.git/commit
Erik Hofman:
authorcurt <curt>
Sun, 25 Aug 2002 23:27:00 +0000 (23:27 +0000)
committercurt <curt>
Sun, 25 Aug 2002 23:27:00 +0000 (23:27 +0000)
commitee35eecb548db2c9f2ddfdf30d7f6782d5898412
treee2509ca212d41ba234c00cba47f88ac6cb0776bb
parent61cf3a8f6d1be058192b8c370820070019b13cfe
Erik Hofman:

I removed some pending random code and I also fixed a
small cosmetic glitch where dt_play was cleared before it was printed.

Curt: Erik changed the sound update intervale and I further I tweaked it.
The issue is that if we put too much into the sound buffer, then we can't react
quick enough to sounds like tire squeek that need to be synced with the visuals
and the action.  We put too little into the sound buffer and we risk the
audio dropping out for moment if a frame takes longer to draw than the amount
of audio in the buffer.
src/Main/main.cxx
src/Sound/fg_sound.cxx
src/Sound/fg_sound.hxx