upgrade to xpdf 3.00.
[swftools.git] / lib / lame / id3tag.h
blob7f63619ab2f7def119800f0650fe65ffc5515248
2 #ifndef LAME_ID3_H
3 #define LAME_ID3_H
5 #include "lame.h"
8 #define CHANGED_FLAG (1U << 0)
9 #define ADD_V2_FLAG (1U << 1)
10 #define V1_ONLY_FLAG (1U << 2)
11 #define V2_ONLY_FLAG (1U << 3)
12 #define SPACE_V1_FLAG (1U << 4)
13 #define PAD_V2_FLAG (1U << 5)
15 struct id3tag_spec
17 /* private data members */
18 int flags;
19 const char *title;
20 const char *artist;
21 const char *album;
22 int year;
23 const char *comment;
24 int track;
25 int genre;
29 /* write tag into stream at current position */
30 extern int id3tag_write_v2(lame_global_flags *gfp);
31 extern int id3tag_write_v1(lame_global_flags *gfp);
33 * NOTE: A version 2 tag will NOT be added unless one of the text fields won't
34 * fit in a version 1 tag (e.g. the title string is longer than 30 characters),
35 * or the "id3tag_add_v2" or "id3tag_v2_only" functions are used.
38 #endif