diff options
author | Warren Dukes <warren.dukes@gmail.com> | 2004-03-17 03:10:17 +0000 |
---|---|---|
committer | Warren Dukes <warren.dukes@gmail.com> | 2004-03-17 03:10:17 +0000 |
commit | f114fbd437dc4f767d85b9f429adf3a3eb9b943f (patch) | |
tree | c6a4a83596498787c7457998ad4d22d93cad1796 /src/tag.c | |
parent | 0f11ce855e1cd4949d2c5db9c3f616b7be201b11 (diff) | |
download | mpd-f114fbd437dc4f767d85b9f429adf3a3eb9b943f.tar.gz mpd-f114fbd437dc4f767d85b9f429adf3a3eb9b943f.tar.xz mpd-f114fbd437dc4f767d85b9f429adf3a3eb9b943f.zip |
fix a few snafoo's in configure.ac
Add initial stuff for AAC support, now we just need to write the decoder
git-svn-id: https://svn.musicpd.org/mpd/trunk@264 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/tag.c')
-rw-r--r-- | src/tag.c | 19 |
1 files changed, 19 insertions, 0 deletions
@@ -167,6 +167,25 @@ MpdTag * mp3TagDup(char * utf8file) { } #endif +#ifdef HAVE_FAAD +MpdTag * aacTagDup(char * utf8file) { + MpdTag * ret = NULL; + int time; + + ret = id3Dup(utf8file); + +#warning getAacTotalTime needs implementing + //time = getAacTotalTime(rmp2amp(utf8ToFsCharset(utf8file))); + + if(time>=0) { + if(!ret) ret = newMpdTag(); + ret->time = time; + } + + return ret; +} +#endif + #ifdef HAVE_OGG MpdTag * oggTagDup(char * utf8file) { MpdTag * ret = NULL; |