summaryrefslogtreecommitdiffstats
path: root/src/plugins/opensles
diff options
context:
space:
mode:
authorChristian Strømme <christian.stromme@digia.com>2013-09-12 15:27:44 +0200
committerThe Qt Project <gerrit-noreply@qt-project.org>2013-09-12 16:04:23 +0200
commitef644626968703ae92ed0264fef8078c849a61fd (patch)
treeed7df7281da978411a99676325481d69146b254f /src/plugins/opensles
parent0a7882f6b308296ff9d44d891d3bdfed91679ce2 (diff)
OpenSL: Fix typos
Change-Id: I1a293bbf8ad3d9016ff6a7ec816c33d3303e5959 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
Diffstat (limited to 'src/plugins/opensles')
-rw-r--r--src/plugins/opensles/qopenslesaudiooutput.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/opensles/qopenslesaudiooutput.cpp b/src/plugins/opensles/qopenslesaudiooutput.cpp
index 908e299c1..65c0f5a61 100644
--- a/src/plugins/opensles/qopenslesaudiooutput.cpp
+++ b/src/plugins/opensles/qopenslesaudiooutput.cpp
@@ -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();