diff options
Diffstat (limited to 'src/engine/enginebuffer.cpp')
-rw-r--r-- | src/engine/enginebuffer.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine/enginebuffer.cpp b/src/engine/enginebuffer.cpp index ff207b4c00..7c90e3c11e 100644 --- a/src/engine/enginebuffer.cpp +++ b/src/engine/enginebuffer.cpp @@ -374,8 +374,8 @@ void EngineBuffer::setEngineMaster(EngineMaster* pEngineMaster) { void EngineBuffer::queueNewPlaypos(double newpos, enum SeekRequest seekType) { // All seeks need to be done in the Engine thread so queue it up. - // Write the position before the seek type, to reduce a possible race - // condition effect + // Write the position before the seek type, to reduce a possible race + // condition effect m_queuedPosition.setValue(newpos); m_iSeekQueued.fetchAndStoreRelease(seekType); } @@ -969,7 +969,7 @@ void EngineBuffer::processSlip(int iBufferSize) { void EngineBuffer::processSeek() { // We need to read position just after reading seekType, to ensure that we read // the matching poition to seek_typ or a position from a new seek just queued from an other thread - // the later case is ok, because we will pocess the new seek in the next call anyway. + // the later case is ok, because we will pocess the new seek in the next call anyway. SeekRequest seekType = static_cast<SeekRequest>(m_iSeekQueued.fetchAndStoreRelease(NO_SEEK)); double position = m_queuedPosition.getValue(); |