annotate Plugins/Input/aac/src/tagging.h @ 1029:54dd4df67688 trunk

[svn] - src/tagging_mp4.c, fileinfo.c, libmp4.c: Finish conversion to internal container code. - include/mpeg4ip.h, mpeg4ip_version.h, systems.h: Remove libmp4v2. - libmp4v2/: Remove libmp4v2. - Makefile.in: Remove references to libmp4v2. - configure.ac: Remove references to libmp4v2.
author nenolod
date Fri, 12 May 2006 06:48:55 -0700
parents d70514b3b436
children f12d7e208b43
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
341
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
1 /*
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
2 * Audacious -- Cross-platform Multimedia Player
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
3 * Copyright (c) 2005 William Pitcock <nenolod@nenolod.net>
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
4 *
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
5 * This program is free software; you can redistribute it and/or modify
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
6 * it under the terms of the GNU General Public License as published by
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
7 * the Free Software Foundation; either version 2 of the License, or
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
8 * (at your option) any later version.
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
9 *
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
10 * This program is distributed in the hope that it will be useful,
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
13 * GNU General Public License for more details.
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
14 *
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
15 * You should have received a copy of the GNU General Public License
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
16 * along with this program; if not, write to the Free Software
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
17 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
18 */
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
19
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
20 #ifndef _AUDMP4_TAGGING_H
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
21 #define _AUDMP4_TAGGING_H
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
22
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
23 #include <glib.h>
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
24 #include <string.h>
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
25 #include <unistd.h>
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
26
1020
d70514b3b436 [svn] - stuff
nenolod
parents: 387
diff changeset
27 #include "mp4ff.h"
387
7f0e78f42032 [svn] Disable adplug if the includes are missing (or in a very lame place). Stop blowing holes in my ship.
chainsaw
parents: 341
diff changeset
28 #include "xmms-id3.h"
341
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
29
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
30 /* XXX: We will need the same for AAC eventually */
1029
54dd4df67688 [svn] - src/tagging_mp4.c, fileinfo.c, libmp4.c: Finish conversion to internal container code.
nenolod
parents: 1020
diff changeset
31 extern gchar *audmp4_get_artist(mp4ff_t *);
54dd4df67688 [svn] - src/tagging_mp4.c, fileinfo.c, libmp4.c: Finish conversion to internal container code.
nenolod
parents: 1020
diff changeset
32 extern gchar *audmp4_get_title(mp4ff_t *);
54dd4df67688 [svn] - src/tagging_mp4.c, fileinfo.c, libmp4.c: Finish conversion to internal container code.
nenolod
parents: 1020
diff changeset
33 extern gchar *audmp4_get_album(mp4ff_t *);
54dd4df67688 [svn] - src/tagging_mp4.c, fileinfo.c, libmp4.c: Finish conversion to internal container code.
nenolod
parents: 1020
diff changeset
34 extern gchar *audmp4_get_genre(mp4ff_t *);
54dd4df67688 [svn] - src/tagging_mp4.c, fileinfo.c, libmp4.c: Finish conversion to internal container code.
nenolod
parents: 1020
diff changeset
35 extern gint audmp4_get_year(mp4ff_t *);
341
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
36
387
7f0e78f42032 [svn] Disable adplug if the includes are missing (or in a very lame place). Stop blowing holes in my ship.
chainsaw
parents: 341
diff changeset
37 #define GENRE_MAX 0x94
7f0e78f42032 [svn] Disable adplug if the includes are missing (or in a very lame place). Stop blowing holes in my ship.
chainsaw
parents: 341
diff changeset
38 extern const char *audmp4_id3_genres[GENRE_MAX];
7f0e78f42032 [svn] Disable adplug if the includes are missing (or in a very lame place). Stop blowing holes in my ship.
chainsaw
parents: 341
diff changeset
39
341
46271e2c9622 [svn] Initial tagging_mp4.c code. Still need to add a class for aac tagging information (ID3)
nenolod
parents:
diff changeset
40 #endif