diff --git a/src/Main/main.cxx b/src/Main/main.cxx index 54d2bdbc7..14debbd82 100644 --- a/src/Main/main.cxx +++ b/src/Main/main.cxx @@ -481,6 +481,8 @@ static void fgMainLoop( void ) { "Elapsed time is zero ... we're zinging" ); } + SGSoundMgr *smgr = globals->get_soundmgr(); + smgr->update(delta_time_sec); globals->get_subsystem_mgr()->update(delta_time_sec); // diff --git a/src/Sound/fg_fx.cxx b/src/Sound/fg_fx.cxx index ad9c4ed47..6df4505d3 100644 --- a/src/Sound/fg_fx.cxx +++ b/src/Sound/fg_fx.cxx @@ -137,7 +137,10 @@ FGFX::update (double dt) return; } +#if 0 + // moved back to the mainloop to prevent audio problems smgr->update(dt); +#endif update_pos_and_orientation(smgr, dt); // command sound manger