diff --git a/includes/irrKlang/ik_IAudioRecorder.h b/includes/irrKlang/ik_IAudioRecorder.h index 49b4085..b40e1a7 100644 --- a/includes/irrKlang/ik_IAudioRecorder.h +++ b/includes/irrKlang/ik_IAudioRecorder.h @@ -77,7 +77,7 @@ namespace irrklang //! Returns a pointer to the recorded audio data. /** This method will only succeed if audio recording is currently stopped and something was recorded previously using startRecordingBufferedAudio(). - The lenght of the buffer can be retrieved using + The length of the buffer can be retrieved using getAudioFormat().getSampleDataSize(). Note that the pointer is only valid as long as not clearRecordedAudioDataBuffer() is called or another sample is recorded.*/ diff --git a/includes/irrKlang/ik_ISoundSource.h b/includes/irrKlang/ik_ISoundSource.h index 087d295..789f3e4 100644 --- a/includes/irrKlang/ik_ISoundSource.h +++ b/includes/irrKlang/ik_ISoundSource.h @@ -15,7 +15,7 @@ namespace irrklang { //! A sound source describes an input file (.ogg, .mp3, .wav or similar) and its default settings. - /** It provides some informations about the sound source like the play lenght and + /** It provides some informations about the sound source like the play length and can have default settings for volume, distances for 3d etc. There is some example code on how to use Sound sources at @ref soundSources.*/ class ISoundSource : public IVirtualRefCounted @@ -38,9 +38,9 @@ namespace irrklang //! Returns the play length of the sound in milliseconds. /** Returns -1 if not known for this sound for example because its decoder - does not support lenght reporting or it is a file stream of unknown size. + does not support length reporting or it is a file stream of unknown size. Note: If the sound never has been played before, the sound engine will have to open - the file and try to get the play lenght from there, so this call could take a bit depending + the file and try to get the play length from there, so this call could take a bit depending on the type of file. */ virtual ik_u32 getPlayLength() = 0; @@ -48,7 +48,7 @@ namespace irrklang /** \return Returns the structure filled with 0 or negative values if not known for this sound for example because because the file could not be opened or similar. Note: If the sound never has been played before, the sound engine will have to open - the file and try to get the play lenght from there, so this call could take a bit depending + the file and try to get the play length from there, so this call could take a bit depending on the type of file. */ virtual SAudioStreamFormat getAudioFormat() = 0; diff --git a/includes/irrKlang/ik_SAudioStreamFormat.h b/includes/irrKlang/ik_SAudioStreamFormat.h index cc6d343..e719964 100644 --- a/includes/irrKlang/ik_SAudioStreamFormat.h +++ b/includes/irrKlang/ik_SAudioStreamFormat.h @@ -29,7 +29,7 @@ namespace irrklang ik_s32 ChannelCount; //! amount of frames in the sample data or stream. - /** If the stream has an unknown lenght, this is -1 */ + /** If the stream has an unknown length, this is -1 */ ik_s32 FrameCount; //! samples per second @@ -51,7 +51,7 @@ namespace irrklang } //! returns the size of the sample data in bytes - /* Returns an invalid negative value when the stream has an unknown lenght */ + /* Returns an invalid negative value when the stream has an unknown length */ inline ik_s32 getSampleDataSize() const { return getFrameSize() * FrameCount; diff --git a/includes/irrKlang/ik_vec3d.h b/includes/irrKlang/ik_vec3d.h index 55e62c2..6749eb2 100644 --- a/includes/irrKlang/ik_vec3d.h +++ b/includes/irrKlang/ik_vec3d.h @@ -128,7 +128,7 @@ namespace irrklang return *this; } - //! Sets the lenght of the vector to a new value + //! Sets the length of the vector to a new value void setLength(T newlength) { normalize();