From 409db9d7efba3c38d09dfb10ace05d78541b1411 Mon Sep 17 00:00:00 2001 From: curt Date: Thu, 23 Oct 2008 18:46:55 +0000 Subject: [PATCH] Fix a few spelling errors. --- simgear/sound/sample_openal.cxx | 2 +- simgear/sound/sample_openal.hxx | 6 +++--- simgear/sound/soundmgr_openal.hxx | 4 ++-- simgear/sound/xmlsound.hxx | 10 +++++----- 4 files changed, 11 insertions(+), 11 deletions(-) diff --git a/simgear/sound/sample_openal.cxx b/simgear/sound/sample_openal.cxx index 4f34f79a..103387ed 100644 --- a/simgear/sound/sample_openal.cxx +++ b/simgear/sound/sample_openal.cxx @@ -66,7 +66,7 @@ static bool print_openal_error(const string &s = "unknown") { return error != 0; } -// empry constructor +// empty constructor SGSoundSample::SGSoundSample() : buffer(0), source(0), diff --git a/simgear/sound/sample_openal.hxx b/simgear/sound/sample_openal.hxx index a00de04e..1131981b 100644 --- a/simgear/sound/sample_openal.hxx +++ b/simgear/sound/sample_openal.hxx @@ -146,7 +146,7 @@ public: /** * Start playing this sample. * - * @param _loop Define wether the sound should be played in a loop. + * @param _loop Define whether the sound should be played in a loop. */ void play( bool _loop ); @@ -170,7 +170,7 @@ public: inline void play_looped() { play(true); } /** - * Test if a sample is curretnly playing. + * Test if a sample is currently playing. * @return true if is is playing, false otherwise. */ bool is_playing( ); @@ -235,7 +235,7 @@ public: /** - * Set maximume distance of sound (the distance where the sound is + * Set maximum distance of sound (the distance where the sound is * no longer audible. */ void set_max_dist( ALfloat dist ); diff --git a/simgear/sound/soundmgr_openal.hxx b/simgear/sound/soundmgr_openal.hxx index 477386e5..59cb24e4 100644 --- a/simgear/sound/soundmgr_openal.hxx +++ b/simgear/sound/soundmgr_openal.hxx @@ -233,12 +233,12 @@ public: } /** - * set the positions of all managaged sound sources + * set the positions of all managed sound sources */ void set_source_pos_all( ALfloat *pos ); /** - * set the velocities of all managaged sound sources + * set the velocities of all managed sound sources */ void set_source_vel_all( ALfloat *pos ); }; diff --git a/simgear/sound/xmlsound.hxx b/simgear/sound/xmlsound.hxx index 22dc5c2e..66caa139 100644 --- a/simgear/sound/xmlsound.hxx +++ b/simgear/sound/xmlsound.hxx @@ -63,14 +63,14 @@ public: /** * Initialize the sound event. * - * Prior to initialization of the sound event the propgrams property root + * Prior to initialization of the sound event the program's property root * has to be defined, the sound configuration XML tree has to be loaded * and a sound manager class has to be defined. * * A sound configuration file would look like this: * * - * Define the name of the event. For refference only. + * Define the name of the event. For reference only. * Either: * looped: play this sound looped. * in-transit: play looped while the event is happening. @@ -80,7 +80,7 @@ public: * 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 + * Take the value of this property as a reference for the * result. * Either: * dt_start: the time elapsed since this sound is playing. @@ -106,7 +106,7 @@ public: const string &); /** - * Check wheter an event has happened and if action has to be taken. + * Check whether an event has happened and if action has to be taken. */ virtual void update (double dt); @@ -149,7 +149,7 @@ private: 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. + // This is useful for lost packets in in-transit mode. std::vector<_snd_prop> _volume; std::vector<_snd_prop> _pitch; -- 2.39.5