forked from len0rd/rockbox
Add conditionals for functions only needed on SWCODEC targets.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31296 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
160d9f6908
commit
bda8a963ad
6 changed files with 19 additions and 0 deletions
|
|
@ -92,6 +92,9 @@ static const char* const genres[] = {
|
|||
"Synthpop"
|
||||
};
|
||||
|
||||
#if CONFIG_CODEC != SWCODEC
|
||||
static
|
||||
#endif
|
||||
char* id3_get_num_genre(unsigned int genre_num)
|
||||
{
|
||||
if (genre_num < ARRAYLEN(genres))
|
||||
|
|
|
|||
|
|
@ -19,11 +19,14 @@
|
|||
*
|
||||
****************************************************************************/
|
||||
|
||||
#if CONFIG_CODEC == SWCODEC
|
||||
char* id3_get_num_genre(unsigned int genre_num);
|
||||
#endif
|
||||
int getid3v2len(int fd);
|
||||
bool setid3v1title(int fd, struct mp3entry *entry);
|
||||
void setid3v2title(int fd, struct mp3entry *entry);
|
||||
bool get_mp3_metadata(int fd, struct mp3entry* id3);
|
||||
#if CONFIG_CODEC == SWCODEC
|
||||
bool get_adx_metadata(int fd, struct mp3entry* id3);
|
||||
bool get_aiff_metadata(int fd, struct mp3entry* id3);
|
||||
bool get_flac_metadata(int fd, struct mp3entry* id3);
|
||||
|
|
@ -53,3 +56,4 @@ bool get_hes_metadata(int fd, struct mp3entry* id3);
|
|||
bool get_sgc_metadata(int fd, struct mp3entry* id3);
|
||||
bool get_vgm_metadata(int fd, struct mp3entry* id3);
|
||||
bool get_kss_metadata(int fd, struct mp3entry* id3);
|
||||
#endif /* CONFIG_CODEC == SWCODEC */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue