summaryrefslogtreecommitdiffstats
path: root/apps/playback.h
diff options
context:
space:
mode:
authorThomas Martitz <kugel@rockbox.org>2011-02-09 20:13:13 +0000
committerThomas Martitz <kugel@rockbox.org>2011-02-09 20:13:13 +0000
commitf577a6a22c646669e56c5436859d2f5ec8b421e8 (patch)
tree04673c08ff7fc1e12ad4eb4147b705e0bd0fd926 /apps/playback.h
parent0d902c8c54bbc36f24b40c49eb9872aa75b779e4 (diff)
downloadrockbox-f577a6a22c646669e56c5436859d2f5ec8b421e8.tar.gz
rockbox-f577a6a22c646669e56c5436859d2f5ec8b421e8.zip
Embedded album art support in MP3/ID3v2 tags.
- Support is limited to non-desync jpeg in id3v2 tags. Other formats (hopefully) follow in the future. - Embedded album art takes precedence over files in album art files. - No additional buffers are used, the jpeg is read directly from the audio file. Flyspray: FS#11216 Author: Yoshihisa Uchida and I git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29259 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/playback.h')
-rw-r--r--apps/playback.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/playback.h b/apps/playback.h
index 27e27ff240..475e2fb662 100644
--- a/apps/playback.h
+++ b/apps/playback.h
@@ -29,6 +29,7 @@
#ifdef HAVE_ALBUMART
#include "bmp.h"
+#include "metadata.h"
/*
* Returns the handle id of the buffered albumart for the given slot id
**/
@@ -50,6 +51,12 @@ int playback_claim_aa_slot(struct dim *dim);
*
* Save to call from other threads */
void playback_release_aa_slot(int slot);
+
+struct bufopen_bitmap_data {
+ struct dim *dim;
+ struct mp3_albumart *embedded_albumart;
+};
+
#endif
/* Functions */