diff options
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 bf6cf3f87d..86211df566 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) | |||
244 | first = false; | 244 | first = false; |
245 | #endif | 245 | #endif |
246 | 246 | ||
247 | samplesdone = 0; | ||
248 | first_frame = false; | 247 | first_frame = false; |
249 | file_end = 0; | 248 | file_end = 0; |
250 | OutputPtr = OutputBuffer; | 249 | OutputPtr = OutputBuffer; |
@@ -257,6 +256,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parm) | |||
257 | ci->advance_buffer(size); | 256 | ci->advance_buffer(size); |
258 | 257 | ||
259 | samplecount = ci->id3->length * (ci->id3->frequency / 100) / 10; | 258 | samplecount = ci->id3->length * (ci->id3->frequency / 100) / 10; |
259 | samplesdone = ci->id3->elapsed * (ci->id3->frequency / 100) / 10; | ||
260 | /* rb->snprintf(buf2, sizeof(buf2), "sc: %d", samplecount); | 260 | /* rb->snprintf(buf2, sizeof(buf2), "sc: %d", samplecount); |
261 | rb->splash(0, true, buf2); | 261 | rb->splash(0, true, buf2); |
262 | rb->snprintf(buf2, sizeof(buf2), "length: %d", ci->id3->length); | 262 | rb->snprintf(buf2, sizeof(buf2), "length: %d", ci->id3->length); |