X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fsound%2Fxmlsound.hxx;h=22dc5c2eeedf3fd877045c3b2da6369145603e7b;hb=8174005ac897f7042d71145201f139b67e08a5ce;hp=99bd9b268d6ccefb54bd3494725d9bb6c108cfd2;hpb=dcb95d131bc6aef1abe25d1f415e309f06e52436;p=simgear.git diff --git a/simgear/sound/xmlsound.hxx b/simgear/sound/xmlsound.hxx index 99bd9b26..22dc5c2e 100644 --- a/simgear/sound/xmlsound.hxx +++ b/simgear/sound/xmlsound.hxx @@ -33,6 +33,8 @@ # error This library requires C++ #endif +#include + #include #include @@ -76,6 +78,7 @@ public: * The relative path to the audio file. * Take action if this property becomes true. * Take action if this condition becomes true. + * Time after which the sound should be played. * or Define volume or pitch settings. * Take the value of this property as a refference for the * result. @@ -144,11 +147,12 @@ private: double _prev_value; double _dt_play; double _dt_stop; + double _delay; // time after which the sound should be started (default: 0) double _stopping; // time after the sound should have stopped. // This is usefull for lost packets in in-trasit mode. - vector<_snd_prop> _volume; - vector<_snd_prop> _pitch; + std::vector<_snd_prop> _volume; + std::vector<_snd_prop> _pitch; };