I am having a problem with sound. I can hear the sound for this vehicle I have coded but only if I turn the volume up high.
Other vehicle sounds are good.
int MySoundID=ConnectToOrbiterSoundDLL3(GetHandle());
RequestLoadVesselWave3(MySoundID,ENG,"Sound\\Vessel\\Chariot\\chariot-go.wav",BOTHVIEW_FADED_FAR);
RequestLoadVesselWave3(MySoundID,START,"Sound\\Vessel\\Chariot\\chariot-start.wav",BOTHVIEW_FADED_FAR);
SoundOptionOnOff3(MySoundID,PLAYMAINTHRUST,FALSE);
SoundOptionOnOff3(MySoundID,PLAYATTITUDETHRUST,FALSE);
SoundOptionOnOff3(MySoundID,PLAYCOUNTDOWNWHENTAKEOFF,FALSE);
SoundOptionOnOff3(MySoundID,PLAYCABINAIRCONDITIONING,FALSE);
SoundOptionOnOff3(MySoundID,PLAYCABINRANDOMAMBIANCE,FALSE);
SoundOptionOnOff3(MySoundID,PLAYRADIOATC,FALSE);
SoundOptionOnOff3(MySoundID,DISPLAYTIMER,FALSE);
}
and then this:
double pit = (vsAirSpeed * pit2) + 11025;
double sp = (190 +((vsAirSpeed)*5));
if (sp>=225)sp=225;
sprintf(oapiDebugString(),"ignition %2.2f", ignition );
{
PlayVesselWave3(MySoundID,ENG,LOOP,225,pit);
if (vsAirSpeed < 1)
{
PlayVesselWave3(MySoundID,ENG,LOOP,190);
Any ideas?