Remove RageFile::Rewind() calls. The original notion was that rewinding is

often simpler than seeking; that some drivers may only support rewinding;
and that, if supported, rewinding should never fail.  However, there's really
no reason for it to be a separate API call.
This commit is contained in:
Glenn Maynard
2004-12-09 08:59:24 +00:00
parent 335e8149d0
commit 7085d480ec
+1 -1
View File
@@ -754,7 +754,7 @@ int RageSoundReader_MP3::Read( char *buf, unsigned len )
bool RageSoundReader_MP3::MADLIB_rewind()
{
this->file.Rewind();
this->file.Seek(0);
mad_frame_mute(&mad->Frame);
mad_synth_mute(&mad->Synth);