diff --git a/simgear/sound/soundmgr_test.cxx b/simgear/sound/soundmgr_test.cxx index 1b8a375f..68c075f3 100644 --- a/simgear/sound/soundmgr_test.cxx +++ b/simgear/sound/soundmgr_test.cxx @@ -30,8 +30,7 @@ int main( int argc, char *argv[] ) { smgr->activate(); // prevent NaNs - SGQuatd orient = SGQuatd::fromYawPitchRollDeg(0.0, 0.0, 0.0); - smgr->set_orientation( orient ); + smgr->set_position( SGVec3d(0, 0, 0), SGGeod::fromDegFt(0, 0, 0) ); SGPath srcDir(SRC_DIR); diff --git a/simgear/sound/soundmgr_test2.cxx b/simgear/sound/soundmgr_test2.cxx index 3728261d..373f616e 100644 --- a/simgear/sound/soundmgr_test2.cxx +++ b/simgear/sound/soundmgr_test2.cxx @@ -31,8 +31,7 @@ int main( int argc, char *argv[] ) { SGPath srcDir(SRC_DIR); // prevent NaNs - SGQuatd orient = SGQuatd::fromYawPitchRollDeg(0.0, 0.0, 0.0); - smgr->set_orientation( orient ); + smgr->set_position( SGVec3d(0, 0, 0), SGGeod::fromDegFt(0, 0, 0) ); printf("default position and orientation\n"); SGSoundSample *sample1 = new SGSoundSample("jet.wav", srcDir);