From 27a6c720917ae1fa9b517b294eba9a5790545e39 Mon Sep 17 00:00:00 2001 From: ehofman Date: Sat, 28 Nov 2009 12:59:40 +0000 Subject: [PATCH] initialize volume to a proper value --- simgear/sound/sample_group.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/simgear/sound/sample_group.cxx b/simgear/sound/sample_group.cxx index 1c76bfa6..3cd0d9ae 100644 --- a/simgear/sound/sample_group.cxx +++ b/simgear/sound/sample_group.cxx @@ -39,6 +39,7 @@ SGSampleGroup::SGSampleGroup () : _active(false), _changed(false), _pause(false), + _volume(1.0), _tied_to_listener(false), _velocity(SGVec3d::zeros()), _orientation(SGQuatd::zeros()) @@ -52,6 +53,7 @@ SGSampleGroup::SGSampleGroup ( SGSoundMgr *smgr, const string &refname ) : _active(false), _changed(false), _pause(false), + _volume(1.0), _tied_to_listener(false), _velocity(SGVec3d::zeros()), _orientation(SGQuatd::zeros()) -- 2.39.5