Resume now starts playback at the point it was stopped, not 2-7 seconds later.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7125 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Ryan Jackson 2005-07-12 16:45:38 +00:00
parent 40a8401cd3
commit d191756286
4 changed files with 26 additions and 4 deletions

View file

@ -244,6 +244,7 @@ struct codec_api ci = {
#endif
memchr,
NULL,
};
int codec_load_ram(char* codecptr, int size, void* ptr2, int bufwrap)
@ -292,7 +293,7 @@ int codec_load_file(const char *plugin)
/* zero out codec buffer to ensure a properly zeroed bss area */
memset(codecbuf, 0, CODEC_SIZE);
fd = open(plugin, O_RDONLY);
if (fd < 0) {
snprintf(msgbuf, sizeof(msgbuf)-1, "Couldn't load codec: %s", plugin);