1
0
Fork 0
forked from len0rd/rockbox

Make get_metadata act on a struct mp3entry rather than a struct track_info.

This should make it easy to use a buffer handle to put the ID3 data in.
The changes in get_metadata are mostly search and replace. The only thing
it actually used to do on the struct track_info was set taginfo_ready to
true.


git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14326 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Nicolas Pennequin 2007-08-14 11:56:13 +00:00
parent 7b055ab665
commit 6a92e475ac
6 changed files with 50 additions and 49 deletions

View file

@ -620,7 +620,7 @@ struct plugin_api {
int (*codec_load_file)(const char* codec, struct codec_api *api);
const char *(*get_codec_filename)(int cod_spec);
bool (*get_metadata)(struct track_info* track, int fd, const char* trackname,
bool (*get_metadata)(struct mp3entry* id3, int fd, const char* trackname,
bool v1first);
#endif
void (*led)(bool on);