diff --git a/src/Sound/fg_sound.cxx b/src/Sound/fg_sound.cxx index b11ba1590..9f20d3b6d 100644 --- a/src/Sound/fg_sound.cxx +++ b/src/Sound/fg_sound.cxx @@ -270,7 +270,7 @@ FGSound::update (double dt) ) { - if ((_mode != FGSound::IN_TRANSIT) || (_stopping < MAX_TRANSIT_TIME)) { + if ((_mode != FGSound::IN_TRANSIT) || (_stopping > MAX_TRANSIT_TIME)) { if (_sample->is_playing()) { SG_LOG(SG_GENERAL, SG_INFO, "Stopping audio after " << _dt_play diff --git a/src/Sound/fg_sound.hxx b/src/Sound/fg_sound.hxx index e3c0cda46..ce66e13a3 100644 --- a/src/Sound/fg_sound.hxx +++ b/src/Sound/fg_sound.hxx @@ -33,7 +33,7 @@ #include "soundmgr.hxx" -static const double MAX_TRANSIT_TIME = 0.01; // 10 ms. +static const double MAX_TRANSIT_TIME = 0.1; // 10 ms. /**