diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2017-12-17 16:12:10 -0500 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2017-12-17 16:33:50 -0500 |
commit | dfff938dff089667038041fcb66262c87c3186c2 (patch) | |
tree | f592218ad9b33d8b0bb0e5c07bcb155f6243aaf4 /apps/plugin.h | |
parent | d14e3f45a859045e81065bfd6740605be45c2349 (diff) |
Get rid of useless playlist probing and fix up some data types.
Playback checked the files' presence before attempting to buffer
the track. Just get rid of that and save an extra open/close call.
It will find out if the path is bad when the metadata fails.
Fix some size_t/off_t conflation. No need to update plugin version
because no plugin actually uses bufopen().
Change-Id: I3db112449dc0b2eeb91c546f308880ac82494fc7
Diffstat (limited to 'apps/plugin.h')
-rw-r--r-- | apps/plugin.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugin.h b/apps/plugin.h index c96c4ac899..a8e7c2af64 100644 --- a/apps/plugin.h +++ b/apps/plugin.h @@ -925,7 +925,7 @@ struct plugin_api { #if (CONFIG_CODEC == SWCODEC) /* buffering API */ - int (*bufopen)(const char *file, size_t offset, enum data_type type, + int (*bufopen)(const char *file, off_t offset, enum data_type type, void *user_data); int (*bufalloc)(const void *src, size_t size, enum data_type type); bool (*bufclose)(int handle_id); |