~ubuntu-branches/debian/sid/gmtp/sid

« back to all changes in this revision

Viewing changes to metatag_info.h

  • Committer: Bazaar Package Importer
  • Author(s): Alessio Treglia
  • Date: 2011-01-24 17:21:38 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20110124172138-30ssabr3ki093ji8
Tags: 0.8-1
* New upstream release.
* Refresh patches.
* Update debian/copyright.
* Add patch to improve the Italian translation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* 
2
 
 * File:   metatag_info.h
3
 
 * Author: darran
4
 
 *
5
 
 * Created on November 11, 2010, 8:54 PM
6
 
 */
7
 
 
8
 
#ifndef _METATAG_INFO_H
9
 
#define _METATAG_INFO_H
10
 
 
11
 
#ifdef  __cplusplus
12
 
extern "C" {
13
 
#endif
14
 
 
15
 
    
16
 
typedef struct {
17
 
    uint32_t f1;
18
 
    uint16_t f2;
19
 
    uint16_t f3;
20
 
    uint16_t f4;
21
 
    uint8_t f5_1;
22
 
    uint8_t f5_2;
23
 
    uint8_t f5_3;
24
 
    uint8_t f5_4;
25
 
    uint8_t f5_5;
26
 
    uint8_t f5_6;
27
 
} GUID;
28
 
 
29
 
// We only include our ASF header objects we want, not all of them
30
 
 
31
 
static const GUID ASF_header = {
32
 
    0x75B22630, 0x668E, 0x11CF, 0xA6D9, 0x00, 0xAA, 0x00, 0x62, 0xCE, 0x6C 
33
 
};
34
 
 
35
 
static const GUID ASF_comment_header = {
36
 
    0x75B22633, 0x668E, 0x11CF, 0xD9A6, 0x00, 0xAA, 0x00, 0x62, 0xCE, 0x6C 
37
 
};
38
 
 
39
 
static const GUID ASF_extended_content_header = {
40
 
        0xD2D0A440, 0xE307, 0x11D2, 0xF097, 0x00, 0xA0, 0xC9, 0x5E, 0xA8, 0x50 
41
 
};
42
 
 
43
 
gchar * ID3_getFrameText(struct id3_tag *tag, char *frame_name);
44
 
gchar * FLAC_getFieldText(const FLAC__StreamMetadata *tags, const char *name);
45
 
//gchar * OGG_getFieldText(const vorbis_comment *comments, const char *name);
46
 
 
47
 
void get_id3_tags(gchar *filename, LIBMTP_track_t *trackinformation);
48
 
void get_ogg_tags(gchar *filename, LIBMTP_track_t *trackinformation);
49
 
void get_flac_tags(gchar *filename, LIBMTP_track_t *trackinformation);
50
 
void get_asf_tags(gchar *filename, LIBMTP_track_t *trackinformation);
51
 
 
52
 
#ifdef  __cplusplus
53
 
}
54
 
#endif
55
 
 
56
 
#endif  /* _METATAG_INFO_H */
57