diff --git a/include/SFML/Audio/SoundRecorder.hpp b/include/SFML/Audio/SoundRecorder.hpp index c1b6c61f..0344e096 100644 --- a/include/SFML/Audio/SoundRecorder.hpp +++ b/include/SFML/Audio/SoundRecorder.hpp @@ -250,7 +250,7 @@ private : /// virtual functions (but not onStart) will be called /// from this separate thread. It is important to keep this in /// mind, because you may have to take care of synchronization -/// issues if you share data between threads. +/// issues if you share data between threads. /// /// Usage example: /// \code diff --git a/src/SFML/Audio/Music.cpp b/src/SFML/Audio/Music.cpp index ef784e45..b8dc6eb0 100644 --- a/src/SFML/Audio/Music.cpp +++ b/src/SFML/Audio/Music.cpp @@ -47,7 +47,7 @@ m_duration() //////////////////////////////////////////////////////////// Music::~Music() { - // We must stop before destroying the file :) + // We must stop before destroying the file stop(); delete m_file; diff --git a/src/SFML/Audio/Sound.cpp b/src/SFML/Audio/Sound.cpp index 8619cab4..4ef4dc5b 100644 --- a/src/SFML/Audio/Sound.cpp +++ b/src/SFML/Audio/Sound.cpp @@ -106,9 +106,9 @@ void Sound::setBuffer(const SoundBuffer& buffer) //////////////////////////////////////////////////////////// -void Sound::setLoop(bool Loop) +void Sound::setLoop(bool loop) { - alCheck(alSourcei(m_source, AL_LOOPING, Loop)); + alCheck(alSourcei(m_source, AL_LOOPING, loop)); } diff --git a/src/SFML/Audio/SoundRecorder.cpp b/src/SFML/Audio/SoundRecorder.cpp index d07c0e26..9ee70e69 100644 --- a/src/SFML/Audio/SoundRecorder.cpp +++ b/src/SFML/Audio/SoundRecorder.cpp @@ -67,7 +67,7 @@ void SoundRecorder::start(unsigned int sampleRate) // Check if the device can do audio capture if (!isAvailable()) { - err() << "Failed to start capture : your system cannot capture audio data (call SoundRecorder::IsAvailable to check it)" << std::endl; + err() << "Failed to start capture : your system cannot capture audio data (call SoundRecorder::isAvailable to check it)" << std::endl; return; }