From: curt Date: Mon, 8 Jun 1998 17:57:04 +0000 (+0000) Subject: Minor sound/startup position tweaks. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b4e53ba51d8e25c8a69d9c0d2c833669322e7347;p=flightgear.git Minor sound/startup position tweaks. --- diff --git a/Main/GLUTmain.cxx b/Main/GLUTmain.cxx index 87d2c2810..cc8508a18 100644 --- a/Main/GLUTmain.cxx +++ b/Main/GLUTmain.cxx @@ -714,10 +714,11 @@ int main( int argc, char **argv ) { strcpy(slfile, path); strcat(slfile, "prpidle.wav"); - s1 = new slSample ( slfile ); + // s1 = new slSample ( slfile ); + s1 = new slSample ( "/dos/X-System-HSR/sounds/xp_recip.wav", &audio_sched ); printf("Rate = %d Bps = %d Stereo = %d\n", s1 -> getRate(), s1 -> getBps(), s1 -> getStereo()); - audio_sched . playSample ( s1 ); + audio_sched . loopSample ( s1 ); // strcpy(slfile, path); // strcat(slfile, "thunder.wav"); @@ -735,6 +736,9 @@ int main( int argc, char **argv ) { // $Log$ +// Revision 1.23 1998/06/08 17:57:04 curt +// Minor sound/startup position tweaks. +// // Revision 1.22 1998/06/05 18:18:40 curt // A bit of fiddling with audio ... // diff --git a/Main/fg_init.cxx b/Main/fg_init.cxx index 79a97cf83..113da6cba 100644 --- a/Main/fg_init.cxx +++ b/Main/fg_init.cxx @@ -154,7 +154,7 @@ int fgInitPosition( void ) { } else { FG_Longitude = ( a.longitude ) * DEG_TO_RAD; FG_Latitude = ( a.latitude ) * DEG_TO_RAD; - FG_Runway_altitude = ( a.elevation + 300 ); + FG_Runway_altitude = ( a.elevation + 200 ); FG_Altitude = FG_Runway_altitude + 3.758099; } } @@ -386,6 +386,9 @@ int fgInitSubsystems( void ) { // $Log$ +// Revision 1.19 1998/06/08 17:57:05 curt +// Minor sound/startup position tweaks. +// // Revision 1.18 1998/06/03 00:47:14 curt // Updated to compile in audio support if OSS available. // Updated for new version of Steve's audio library.