diff options
| author | Miika Pekkarinen <miipekk@ihme.org> | 2005-06-11 18:05:16 +0000 |
|---|---|---|
| committer | Miika Pekkarinen <miipekk@ihme.org> | 2005-06-11 18:05:16 +0000 |
| commit | a380d90b98e6f36f892d125ce8dea4a8ced9d801 (patch) | |
| tree | eb748817036dd415d6d5def40b67b529bd9ee94f /apps/plugins | |
| parent | 7527bfb4d6c49ad6ab6b89e636122e56ec16be34 (diff) | |
| download | rockbox-a380d90b98e6f36f892d125ce8dea4a8ced9d801.zip rockbox-a380d90b98e6f36f892d125ce8dea4a8ced9d801.tar.gz rockbox-a380d90b98e6f36f892d125ce8dea4a8ced9d801.tar.bz2 rockbox-a380d90b98e6f36f892d125ce8dea4a8ced9d801.tar.xz | |
Fixed MP3 forward seeking.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@6679 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/codecmpa.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/codecmpa.c b/apps/plugins/codecmpa.c index bf6cf3f..86211df 100644 --- a/apps/plugins/codecmpa.c +++ b/apps/plugins/codecmpa.c @@ -244,7 +244,6 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parm) first = false; #endif - samplesdone = 0; first_frame = false; file_end = 0; OutputPtr = OutputBuffer; @@ -257,6 +256,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parm) ci->advance_buffer(size); samplecount = ci->id3->length * (ci->id3->frequency / 100) / 10; + samplesdone = ci->id3->elapsed * (ci->id3->frequency / 100) / 10; /* rb->snprintf(buf2, sizeof(buf2), "sc: %d", samplecount); rb->splash(0, true, buf2); rb->snprintf(buf2, sizeof(buf2), "length: %d", ci->id3->length); |