Subversion Repositories planix.SVN

Rev

Rev 2 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
 
2
#ifndef LAME_ID3_H
3
#define LAME_ID3_H
4
 
5
#include "lame.h"
6
 
7
struct id3tag_spec
8
{
9
    /* private data members */
10
    int flags;
11
    const char *title;
12
    const char *artist;
13
    const char *album;
14
    int year;
15
    const char *comment;
16
    int track;
17
    int genre;
18
};
19
 
20
 
21
/* write tag into stream at current position */
22
extern int id3tag_write_v2(lame_global_flags *gfp);
23
extern int id3tag_write_v1(lame_global_flags *gfp);
24
/*
25
 * NOTE: A version 2 tag will NOT be added unless one of the text fields won't
26
 * fit in a version 1 tag (e.g. the title string is longer than 30 characters),
27
 * or the "id3tag_add_v2" or "id3tag_v2_only" functions are used.
28
 */
29
 
30
#endif