From 5d7e71a6086cda0a8bb798af20e147e47add7623 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 2 Oct 2003 06:50:05 +0000 Subject: [PATCH] Unneeded; this bug was latent due to an extra rewind. --- stepmania/src/RageSoundReader_MP3.cpp | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/stepmania/src/RageSoundReader_MP3.cpp b/stepmania/src/RageSoundReader_MP3.cpp index 9d124a2e62..d941b7dbc8 100644 --- a/stepmania/src/RageSoundReader_MP3.cpp +++ b/stepmania/src/RageSoundReader_MP3.cpp @@ -613,18 +613,7 @@ SoundReader_FileReader::OpenResult RageSoundReader_MP3::Open( CString filename_ * the stream. */ synth_output(); - /* - * Hack: Old code was setting Channels = 0 before synth_output. This caused - * the first synthed frame to not be written to the output buffer, offsetting - * the whole song by a buffer. On one test song, it was 1152/44100, or 26ms. - * This affects all MP3s. We can't leave the bug in, since we need to handle - * seeks properly, too. So, let's make the offset to fix seeks available. - * - * This is negative: if we have 26ms of extra data, then song offsets are - * fixed by subtracting 26ms. - */ - - this->OffsetFix = - (float) mad->Synth.pcm.length / mad->Frame.header.samplerate; + this->OffsetFix = 0; if(mad->length == -1) {