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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user