diff options
author | Michael Sevakis <jethead71@rockbox.org> | 2011-04-27 03:08:23 +0000 |
---|---|---|
committer | Michael Sevakis <jethead71@rockbox.org> | 2011-04-27 03:08:23 +0000 |
commit | c537d5958e8b421ac4f9bef6c8b9e7425a6cf167 (patch) | |
tree | 7ed36518fb6524da7bbd913ba7619b85b5d15d23 /apps/metadata.h | |
parent | dcf0f8de4a37ff1d2ea510aef75fa67977a8bdcc (diff) | |
download | rockbox-c537d5958e8b421ac4f9bef6c8b9e7425a6cf167.tar.gz rockbox-c537d5958e8b421ac4f9bef6c8b9e7425a6cf167.zip |
Commit FS#12069 - Playback rework - first stages. Gives as thorough as possible a treatment of codec management, track change and metadata logic as possible while maintaining fairly narrow focus and not rewriting everything all at once. Please see the rockbox-dev mail archive on 2011-04-25 (Playback engine rework) for a more thorough manifest of what was addressed. Plugins and codecs become incompatible.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29785 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/metadata.h')
-rw-r--r-- | apps/metadata.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/apps/metadata.h b/apps/metadata.h index c22c1b3ecf..b268a3d474 100644 --- a/apps/metadata.h +++ b/apps/metadata.h | |||
@@ -266,9 +266,7 @@ struct mp3entry { | |||
266 | 266 | ||
267 | /* resume related */ | 267 | /* resume related */ |
268 | unsigned long offset; /* bytes played */ | 268 | unsigned long offset; /* bytes played */ |
269 | #if CONFIG_CODEC != SWCODEC | ||
270 | int index; /* playlist index */ | 269 | int index; /* playlist index */ |
271 | #endif | ||
272 | 270 | ||
273 | #ifdef HAVE_TAGCACHE | 271 | #ifdef HAVE_TAGCACHE |
274 | unsigned char autoresumable; /* caches result of autoresumable() */ | 272 | unsigned char autoresumable; /* caches result of autoresumable() */ |
@@ -309,9 +307,14 @@ bool get_metadata(struct mp3entry* id3, int fd, const char* trackname); | |||
309 | bool mp3info(struct mp3entry *entry, const char *filename); | 307 | bool mp3info(struct mp3entry *entry, const char *filename); |
310 | void adjust_mp3entry(struct mp3entry *entry, void *dest, const void *orig); | 308 | void adjust_mp3entry(struct mp3entry *entry, void *dest, const void *orig); |
311 | void copy_mp3entry(struct mp3entry *dest, const struct mp3entry *orig); | 309 | void copy_mp3entry(struct mp3entry *dest, const struct mp3entry *orig); |
310 | void wipe_mp3entry(struct mp3entry *id3); | ||
312 | 311 | ||
313 | #if CONFIG_CODEC == SWCODEC | 312 | #if CONFIG_CODEC == SWCODEC |
313 | void fill_metadata_from_path(struct mp3entry *id3, const char *trackname); | ||
314 | int get_audio_base_codec_type(int type); | ||
314 | void strip_tags(int handle_id); | 315 | void strip_tags(int handle_id); |
316 | enum data_type get_audio_base_data_type(int afmt); | ||
317 | bool format_buffers_with_offset(int afmt); | ||
315 | #endif | 318 | #endif |
316 | 319 | ||
317 | #ifdef HAVE_TAGCACHE | 320 | #ifdef HAVE_TAGCACHE |