Minor sound/startup position tweaks.
This commit is contained in:
parent
d0b19c0ce1
commit
b4e53ba51d
2 changed files with 10 additions and 3 deletions
|
@ -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 ...
|
||||
//
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue