SGSoundMgr::SGSoundMgr() :
_working(false),
_changed(true),
- _volume(0.5),
+ _volume(0.0),
_device(NULL),
_context(NULL),
_listener_pos(SGVec3d::zeros().data()),
// run the audio scheduler
void SGSoundMgr::update_late( double dt ) {
if (_working) {
+ // alcSuspendContext(_context);
+
sample_group_map_iterator sample_grp_current = _sample_groups.begin();
sample_group_map_iterator sample_grp_end = _sample_groups.end();
for ( ; sample_grp_current != sample_grp_end; ++sample_grp_current ) {
testForALError("update");
_changed = false;
}
+ // alcProcessContext(_context);
}
}