Minor corrections in comments and syntax

This commit is contained in:
Laurent Gomila 2013-08-15 09:28:43 +02:00
parent d9ba54f285
commit 5173f51d52
4 changed files with 5 additions and 5 deletions

View File

@ -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;

View File

@ -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));
}

View File

@ -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;
}