diff options
author | Angus Cummings <angus.cummings@nokia.com> | 2012-06-07 11:01:28 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-06-13 05:53:47 +0200 |
commit | 80f37d2d80f16fd653c3e8076acf2865eae028d3 (patch) | |
tree | d9dbf8aa99357efd8d100c8e5f96fe1fd5b69a43 /src/imports/audioengine/qsoundinstance_p.cpp | |
parent | 931c2d3ffe88086e1839ee5b8b8ddcab06fd698d (diff) |
Renaming StopppedState to StoppedState
Change-Id: Ib23e9795960f40b46c0b2441ec03e8b1812033e5
Reviewed-by: Michael Goddard <michael.goddard@nokia.com>
Diffstat (limited to 'src/imports/audioengine/qsoundinstance_p.cpp')
-rw-r--r-- | src/imports/audioengine/qsoundinstance_p.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/imports/audioengine/qsoundinstance_p.cpp b/src/imports/audioengine/qsoundinstance_p.cpp index 9c5fc7ad9..a2effd9b0 100644 --- a/src/imports/audioengine/qsoundinstance_p.cpp +++ b/src/imports/audioengine/qsoundinstance_p.cpp @@ -68,7 +68,7 @@ QSoundInstance::QSoundInstance(QObject *parent) , m_varGain(1) , m_pitch(1) , m_varPitch(1) - , m_state(QSoundInstance::StopppedState) + , m_state(QSoundInstance::StoppedState) , m_coneOuterGain(0) , m_engine(0) { @@ -190,7 +190,7 @@ void QSoundInstance::handleSourceStateChanged(QSoundSource::State newState) State ns = State(newState); if (ns == m_state) return; - if (ns == QSoundInstance::StopppedState) { + if (ns == QSoundInstance::StoppedState) { prepareNewVariation(); } setState(ns); @@ -217,7 +217,7 @@ void QSoundInstance::sourceStop() { Q_ASSERT(m_soundSource); m_soundSource->stop(); - setState(QSoundInstance::StopppedState); + setState(QSoundInstance::StoppedState); } void QSoundInstance::detach() @@ -285,8 +285,8 @@ void QSoundInstance::sourcePause() void QSoundInstance::stop() { - if (!m_isReady || !m_soundSource || m_state == QSoundInstance::StopppedState) { - setState(QSoundInstance::StopppedState); + if (!m_isReady || !m_soundSource || m_state == QSoundInstance::StoppedState) { + setState(QSoundInstance::StoppedState); return; } sourceStop(); |