mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-26 23:36:37 -04:00
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:
parent
40a8401cd3
commit
d191756286
4 changed files with 26 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue