From: Erik Hofman Date: Fri, 10 Sep 2010 13:02:37 +0000 (+0200) Subject: Set the listener position to it's default value, just like the samples position X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bf70d6f087f68f05ae5eb880984622dcc6977253;p=simgear.git Set the listener position to it's default value, just like the samples position --- 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);