diff --git a/include/SFML/Audio/SoundBuffer.hpp b/include/SFML/Audio/SoundBuffer.hpp index 2f78ad933..4171d0928 100644 --- a/include/SFML/Audio/SoundBuffer.hpp +++ b/include/SFML/Audio/SoundBuffer.hpp @@ -118,7 +118,7 @@ public: //////////////////////////////////////////////////////////// /// \brief Load the sound buffer from an array of audio samples /// - /// The assumed format of the audio samples is 16 bits signed integer. + /// The assumed format of the audio samples is 16 bit signed integer. /// /// \param samples Pointer to the array of samples in memory /// \param sampleCount Number of samples in the array @@ -156,7 +156,7 @@ public: //////////////////////////////////////////////////////////// /// \brief Get the array of audio samples stored in the buffer /// - /// The format of the returned samples is 16 bits signed integer. + /// The format of the returned samples is 16 bit signed integer. /// The total number of samples in this array is given by the /// getSampleCount() function. /// @@ -310,7 +310,7 @@ private: /// \ingroup audio /// /// A sound buffer holds the data of a sound, which is -/// an array of audio samples. A sample is a 16 bits signed integer +/// an array of audio samples. A sample is a 16 bit signed integer /// that defines the amplitude of the sound at a given time. /// The sound is then reconstituted by playing these samples at /// a high rate (for example, 44100 samples per second is the diff --git a/include/SFML/Graphics/Image.hpp b/include/SFML/Graphics/Image.hpp index 83197f816..2f2e84b83 100644 --- a/include/SFML/Graphics/Image.hpp +++ b/include/SFML/Graphics/Image.hpp @@ -254,7 +254,7 @@ public: /// \brief Get a read-only pointer to the array of pixels /// /// The returned value points to an array of RGBA pixels made of - /// 8 bits integers components. The size of the array is + /// 8 bit integer components. The size of the array is /// width * height * 4 (getSize().x * getSize().y * 4). /// Warning: the returned pointer may become invalid if you /// modify the image, so you should never store it for too long. @@ -305,7 +305,7 @@ private: /// /// sf::Image can handle a unique internal representation of /// pixels, which is RGBA 32 bits. This means that a pixel -/// must be composed of 8 bits red, green, blue and alpha +/// must be composed of 8 bit red, green, blue and alpha /// channels -- just like a sf::Color. /// All the functions that return an array of pixels follow /// this rule, and all parameters that you pass to sf::Image diff --git a/include/SFML/Graphics/Texture.hpp b/include/SFML/Graphics/Texture.hpp index 82357049c..34ec51127 100644 --- a/include/SFML/Graphics/Texture.hpp +++ b/include/SFML/Graphics/Texture.hpp @@ -641,7 +641,7 @@ SFML_GRAPHICS_API void swap(Texture& left, Texture& right) noexcept; /// /// Like sf::Image, sf::Texture can handle a unique internal /// representation of pixels, which is RGBA 32 bits. This means -/// that a pixel must be composed of 8 bits red, green, blue and +/// that a pixel must be composed of 8 bit red, green, blue and /// alpha channels -- just like a sf::Color. /// /// When providing texture data from an image file or memory, it can diff --git a/include/SFML/Network/IpAddress.hpp b/include/SFML/Network/IpAddress.hpp index b31b42b2e..2104a77a7 100644 --- a/include/SFML/Network/IpAddress.hpp +++ b/include/SFML/Network/IpAddress.hpp @@ -176,7 +176,7 @@ private: //////////////////////////////////////////////////////////// // Member data //////////////////////////////////////////////////////////// - std::uint32_t m_address; //!< Address stored as an unsigned 32 bits integer + std::uint32_t m_address; //!< Address stored as an unsigned 32 bit integer }; //////////////////////////////////////////////////////////// diff --git a/src/SFML/Graphics/Font.cpp b/src/SFML/Graphics/Font.cpp index aab21b140..efe0fd643 100644 --- a/src/SFML/Graphics/Font.cpp +++ b/src/SFML/Graphics/Font.cpp @@ -596,7 +596,7 @@ Glyph Font::loadGlyph(std::uint32_t codePoint, unsigned int characterSize, bool } else { - // Pixels are 8 bits gray levels + // Pixels are 8 bit gray levels for (unsigned int y = padding; y < size.y - padding; ++y) { for (unsigned int x = padding; x < size.x - padding; ++x)