]> git.mxchange.org Git - flightgear.git/commitdiff
Minor sound/startup position tweaks.
authorcurt <curt>
Mon, 8 Jun 1998 17:57:04 +0000 (17:57 +0000)
committercurt <curt>
Mon, 8 Jun 1998 17:57:04 +0000 (17:57 +0000)
Main/GLUTmain.cxx
Main/fg_init.cxx

index 87d2c2810bd0800629de1e4b9b442550eb678ec6..cc8508a18721190e2d80c5a234abac4e232466c3 100644 (file)
@@ -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 ...
 //
index 79a97cf839421cf42260a6996b5ae5eea3cffc8f..113da6cba19aa90739d93b50da63873c1f9a3cc2 100644 (file)
@@ -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.