OpenSL: Fix typos
Change-Id: I1a293bbf8ad3d9016ff6a7ec816c33d3303e5959 Reviewed-by: Yoann Lopes <yoann.lopes@digia.com>
This commit is contained in:
committed by
The Qt Project
parent
0a7882f6b3
commit
ef64462696
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user