From bf70d6f087f68f05ae5eb880984622dcc6977253 Mon Sep 17 00:00:00 2001 From: Erik Hofman Date: Fri, 10 Sep 2010 15:02:37 +0200 Subject: [PATCH] Set the listener position to it's default value, just like the samples position --- simgear/sound/openal_test2.cxx | 2 -- 1 file changed, 2 deletions(-) diff --git a/simgear/sound/openal_test2.cxx b/simgear/sound/openal_test2.cxx index 13a62d63..a136c83e 100644 --- a/simgear/sound/openal_test2.cxx +++ b/simgear/sound/openal_test2.cxx @@ -11,7 +11,6 @@ #include "soundmgr_openal.hxx" -SGGeod pos = SGGeod::fromDeg(0,0); int main( int argc, char *argv[] ) { SGSampleGroup *sgr; @@ -23,7 +22,6 @@ int main( int argc, char *argv[] ) { smgr->init(); sgr = smgr->find("default", true); smgr->set_volume(0.9); - smgr->set_position( SGVec3d::fromGeod(pos), pos ); smgr->activate(); SGPath srcDir(SRC_DIR); -- 2.39.5