diff --git a/stepmania/src/RageSound.cpp b/stepmania/src/RageSound.cpp index d4201f1b0d..cc1d9eb752 100644 --- a/stepmania/src/RageSound.cpp +++ b/stepmania/src/RageSound.cpp @@ -628,7 +628,7 @@ int64_t RageSound::GetPositionSecondsInternal( bool *bApproximate ) const if( !IsPlaying() ) return m_iStoppedSourceFrame; - /* If we don't yet have any position data, GetPCM hasn't yet been called at all, + /* If we don't yet have any position data, CommitPlayingPosition hasn't yet been called at all, * so guess what we think the real time is. */ if( m_HardwareToStreamMap.IsEmpty() || m_StreamToSourceMap.IsEmpty() ) { diff --git a/stepmania/src/RageSoundPosMap.cpp b/stepmania/src/RageSoundPosMap.cpp index 5b17f897ca..391365020a 100644 --- a/stepmania/src/RageSoundPosMap.cpp +++ b/stepmania/src/RageSoundPosMap.cpp @@ -168,8 +168,8 @@ int64_t pos_map_queue::Search( int64_t iSourceFrame, bool *bApproximate ) const * Return the closest position. * * There are three cases when this happens: - * 1. After the first GetPCM call, but before it actually gets heard. - * 2. After GetPCM returns EOF and the sound has flushed, but before + * 1. Before the first CommitPlayingPosition call. + * 2. After GetDataToPlay returns EOF and the sound has flushed, but before * SoundStopped has been called. * 3. Underflow; we'll be given a larger frame number than we know about. */ diff --git a/stepmania/src/arch/Sound/RageSoundDriver.h b/stepmania/src/arch/Sound/RageSoundDriver.h index 82970503a5..1065acd18c 100644 --- a/stepmania/src/arch/Sound/RageSoundDriver.h +++ b/stepmania/src/arch/Sound/RageSoundDriver.h @@ -34,9 +34,9 @@ public: * RageSound::CommitPlayingPosition. */ virtual int64_t GetPosition() const = 0; - /* When a sound is finished playing (GetPCM returns less than requested) and - * the sound has been completely flushed (so GetPosition is no longer meaningful), - * call RageSoundBase::SoundIsFinishedPlaying(). */ + /* When a sound is finished playing (GetDataToPlay returns 0) and the sound has + * been completely flushed (so GetPosition is no longer meaningful), call + * RageSoundBase::SoundIsFinishedPlaying(). */ /* Optional, if needed: */ virtual void Update() { }