polygon intersector: added horizontal line reconstruction
[swftools.git] / lib / lame / id3tag.h
1
2 #ifndef LAME_ID3_H
3 #define LAME_ID3_H
4
5 #include "lame.h"
6
7
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)
14
15 struct id3tag_spec
16 {
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;
26 };
27
28
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);
32 /*
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.
36  */
37
38 #endif