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");
// $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 ...
//
} 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;
}
}
// $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.