Call ci->seek_complete() callback after processing a seek request (an old API change that wasn't implemented in all the codecs)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7717 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dave Chapman 2005-11-02 00:09:42 +00:00
parent 4158ba1ff1
commit 5006d15d1e
6 changed files with 6 additions and 6 deletions

View file

@ -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);

View file

@ -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 */

View file

@ -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 */

View file

@ -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,

View file

@ -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;

View file

@ -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;