]> git.mxchange.org Git - simgear.git/commitdiff
Set the listener position to it's default value, just like the samples position
authorErik Hofman <erik@ehofman.com>
Fri, 10 Sep 2010 13:02:37 +0000 (15:02 +0200)
committerErik Hofman <erik@ehofman.com>
Fri, 10 Sep 2010 13:02:37 +0000 (15:02 +0200)
simgear/sound/openal_test2.cxx

index 13a62d63cef70448c570d624e2ebed303f366c46..a136c83e10173c8eee6e7776c2de6fc8a6c2004c 100644 (file)
@@ -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);