diff options
author | Thomas Martitz <kugel@rockbox.org> | 2011-02-09 20:13:13 +0000 |
---|---|---|
committer | Thomas Martitz <kugel@rockbox.org> | 2011-02-09 20:13:13 +0000 |
commit | f577a6a22c646669e56c5436859d2f5ec8b421e8 (patch) | |
tree | 04673c08ff7fc1e12ad4eb4147b705e0bd0fd926 /apps/playback.h | |
parent | 0d902c8c54bbc36f24b40c49eb9872aa75b779e4 (diff) | |
download | rockbox-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.h | 7 |
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 @@ | |||
29 | #ifdef HAVE_ALBUMART | 29 | #ifdef HAVE_ALBUMART |
30 | 30 | ||
31 | #include "bmp.h" | 31 | #include "bmp.h" |
32 | #include "metadata.h" | ||
32 | /* | 33 | /* |
33 | * Returns the handle id of the buffered albumart for the given slot id | 34 | * Returns the handle id of the buffered albumart for the given slot id |
34 | **/ | 35 | **/ |
@@ -50,6 +51,12 @@ int playback_claim_aa_slot(struct dim *dim); | |||
50 | * | 51 | * |
51 | * Save to call from other threads */ | 52 | * Save to call from other threads */ |
52 | void playback_release_aa_slot(int slot); | 53 | void playback_release_aa_slot(int slot); |
54 | |||
55 | struct bufopen_bitmap_data { | ||
56 | struct dim *dim; | ||
57 | struct mp3_albumart *embedded_albumart; | ||
58 | }; | ||
59 | |||
53 | #endif | 60 | #endif |
54 | 61 | ||
55 | /* Functions */ | 62 | /* Functions */ |