diff --git a/stepmania/src/RageSound.cpp b/stepmania/src/RageSound.cpp index a2dceb9ffa..36b585df4a 100644 --- a/stepmania/src/RageSound.cpp +++ b/stepmania/src/RageSound.cpp @@ -70,7 +70,7 @@ RageSound::RageSound(): playing_thread = 0; databuf.reserve(internal_buffer_size); - /* Register ourself, so we have a unique ID and receive Update()s. */ + /* Register ourself. */ ID = SOUNDMAN->RegisterSound( this ); } @@ -97,8 +97,7 @@ RageSound::RageSound(const RageSound &cpy): *this = cpy; - /* Register ourself, so we receive Update()s. We have a different ID than - * our parent. */ + /* Register ourself. We have a different ID than our parent. */ ID = SOUNDMAN->RegisterSound( this ); } @@ -193,12 +192,6 @@ bool RageSound::Load(CString sSoundFilePath, int precache) return true; } -void RageSound::Update(float delta) -{ - /* Erase old pos_map data. */ -// CleanPosMap( pos_map ); -} - /* Return the number of bytes available in the input buffer. */ int RageSound::Bytes_Available() const { diff --git a/stepmania/src/RageSound.h b/stepmania/src/RageSound.h index fea4c948e0..7206bb066d 100644 --- a/stepmania/src/RageSound.h +++ b/stepmania/src/RageSound.h @@ -182,7 +182,6 @@ public: int GetPCM( char *buffer, int size, int64_t frameno ); bool GetDataToPlay( int16_t *buffer, int size, int &pos, int &got_bytes ); void CommitPlayingPosition( int64_t frameno, int pos, int got_bytes ); - void Update(float delta); }; #endif diff --git a/stepmania/src/RageSoundManager.cpp b/stepmania/src/RageSoundManager.cpp index aebe76c05f..df95e6b124 100644 --- a/stepmania/src/RageSoundManager.cpp +++ b/stepmania/src/RageSoundManager.cpp @@ -108,10 +108,6 @@ void RageSoundManager::Update(float delta) delete *it; g_DeletionMutex.Unlock(); -// for(set::iterator i = all_sounds.begin(); -// i != all_sounds.end(); ++i) -// (*i)->Update(delta); - driver->Update(delta); }