OpenSL: Fix typos
authorChristian Strømme <christian.stromme@digia.com>
Thu, 12 Sep 2013 13:27:44 +0000 (15:27 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Thu, 12 Sep 2013 14:04:23 +0000 (16:04 +0200)
Change-Id: I1a293bbf8ad3d9016ff6a7ec816c33d3303e5959
Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
src/plugins/opensles/qopenslesaudiooutput.cpp

index 908e299..65c0f5a 100644 (file)
@@ -129,7 +129,7 @@ void QOpenSLESAudioOutput::start(QIODevice *device)
         m_processedBytes += readSize;
     }
 
-    // Change to state to playing.
+    // Change the state to playing.
     // We need to do this after filling the buffers or processedBytes might get corrupted.
     if (SL_RESULT_SUCCESS != (*m_playItf)->SetPlayState(m_playItf, SL_PLAYSTATE_PLAYING)) {
         setError(QAudio::FatalError);
@@ -149,7 +149,7 @@ QIODevice *QOpenSLESAudioOutput::start()
     m_audioSource = new SLIODevicePrivate(this);
     m_audioSource->open(QIODevice::WriteOnly | QIODevice::Unbuffered);
 
-    // Change to state to playing
+    // Change the state to playing
     if (SL_RESULT_SUCCESS != (*m_playItf)->SetPlayState(m_playItf, SL_PLAYSTATE_PLAYING)) {
         setError(QAudio::FatalError);
         destroyPlayer();