diff --git a/apps/codecs/a52.c b/apps/codecs/a52.c index c4d2d291ed..b658893023 100644 --- a/apps/codecs/a52.c +++ b/apps/codecs/a52.c @@ -168,7 +168,7 @@ next_track: samplesdone = sample_loc; ci->set_elapsed(samplesdone/(ci->id3->frequency/1000)); } - ci->seek_time = 0; + ci->seek_complete(); } filebuf = ci->request_buffer(&n, BUFFER_SIZE); diff --git a/apps/codecs/aac.c b/apps/codecs/aac.c index 98656f2487..9b07fb8d64 100644 --- a/apps/codecs/aac.c +++ b/apps/codecs/aac.c @@ -131,7 +131,7 @@ enum codec_status codec_start(struct codec_api* api) elapsedtime=(samplesdone*10)/(ci->id3->frequency/100); ci->set_elapsed(elapsedtime); } - ci->seek_time = 0; + ci->seek_complete(); } /* Lookup the length (in samples and bytes) of block i */ diff --git a/apps/codecs/alac.c b/apps/codecs/alac.c index af2694851f..dcad760f90 100644 --- a/apps/codecs/alac.c +++ b/apps/codecs/alac.c @@ -108,7 +108,7 @@ enum codec_status codec_start(struct codec_api* api) elapsedtime=(samplesdone*10)/(ci->id3->frequency/100); ci->set_elapsed(elapsedtime); } - ci->seek_time = 0; + ci->seek_complete(); } /* Lookup the length (in samples and bytes) of block i */ diff --git a/apps/codecs/flac.c b/apps/codecs/flac.c index 81785132a9..9d0f9cd5d4 100644 --- a/apps/codecs/flac.c +++ b/apps/codecs/flac.c @@ -275,7 +275,7 @@ enum codec_status codec_start(struct codec_api* api) /* Refill the input buffer */ buf = ci->request_buffer(&bytesleft, MAX_FRAMESIZE); } - ci->seek_time = 0; + ci->seek_complete(); } if((res=flac_decode_frame(&fc,decoded0,decoded1,buf, diff --git a/apps/codecs/wav.c b/apps/codecs/wav.c index 2e668a4e35..3955528155 100644 --- a/apps/codecs/wav.c +++ b/apps/codecs/wav.c @@ -446,7 +446,7 @@ enum codec_status codec_start(struct codec_api* api) if (rb->seek_buffer(firstblockposn + newpos)) { bytesdone = newpos; } - rb->seek_time = 0; + rb->seek_complete(); } wavbuf=rb->request_buffer((long *)&n,chunksize); wavbuf8 = (uint8_t*)wavbuf; diff --git a/apps/codecs/wavpack.c b/apps/codecs/wavpack.c index 507678c0da..fd346d28c8 100644 --- a/apps/codecs/wavpack.c +++ b/apps/codecs/wavpack.c @@ -124,7 +124,7 @@ enum codec_status codec_start(struct codec_api* api) } wpc = WavpackOpenFileInput (read_callback, error); - ci->seek_time = 0; + ci->seek_complete(); if (!wpc) break;