source: roaraudio/include/roaraudio/meta.h @ 704:25764dfdef62

Last change on this file since 704:25764dfdef62 was 704:25764dfdef62, checked in by phi, 16 years ago

added COPYING.lgplv3

File size: 2.6 KB
Line 
1//meta.h:
2
3/*
4 *      Copyright (C) Philipp 'ph3-der-loewe' Schafft - 2008
5 *
6 *  This file is part of RoarAudio,
7 *  a cross-platform sound system for both, home and professional use.
8 *  See README for details.
9 *
10 *  This file is free software; you can redistribute it and/or modify
11 *  it under the terms of the GNU Lesser General Public License version 3
12 *  as published by the Free Software Foundation.
13 *
14 *  RoarAudio is distributed in the hope that it will be useful,
15 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
16 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
17 *  GNU Lesser General Public License for more details.
18 *
19 *  You should have received a copy of the GNU Lesser General Public License
20 *  along with this software; see the file COPYING.  If not, write to
21 *  the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
22 *
23 *  NOTE: Even though this file is LGPLed it (may) include GPLed files
24 *  so the license of this file is/may therefore downgraded to GPL.
25 *  See HACKING for details.
26 */
27
28#ifndef _ROARAUDIO_META_H_
29#define _ROARAUDIO_META_H_
30
31#define ROAR_META_TYPE_NONE          0
32#define ROAR_META_TYPE_TITLE         1
33#define ROAR_META_TYPE_ALBUM         2
34#define ROAR_META_TYPE_AUTOR         3
35#define ROAR_META_TYPE_ARTIST        ROAR_META_TYPE_AUTOR
36#define ROAR_META_TYPE_VERSION       4
37#define ROAR_META_TYPE_DATE          5
38#define ROAR_META_TYPE_LICENSE       6
39#define ROAR_META_TYPE_TRACKNUMBER   7
40#define ROAR_META_TYPE_ORGANIZATION  8
41#define ROAR_META_TYPE_DESCRIPTION   9
42#define ROAR_META_TYPE_GENRE         10
43#define ROAR_META_TYPE_LOCATION      11
44#define ROAR_META_TYPE_CONTACT       12
45#define ROAR_META_TYPE_STREAMURL     13
46#define ROAR_META_TYPE_HOMEPAGE      14
47#define ROAR_META_TYPE_THUMBNAIL     15
48#define ROAR_META_TYPE_LENGTH        16
49#define ROAR_META_TYPE_COMMENT       17
50#define ROAR_META_TYPE_OTHER         18
51#define ROAR_META_TYPE_FILENAME      19
52#define ROAR_META_TYPE_FILEURL       20
53#define ROAR_META_TYPE_SERVER        21
54#define ROAR_META_TYPE_DURATION      22
55#define ROAR_META_TYPE_WWW           ROAR_META_TYPE_HOMEPAGE
56#define ROAR_META_TYPE_WOAF          23 /* ID3: Official audio file webpage */
57#define ROAR_META_TYPE_ENCODER       24
58#define ROAR_META_TYPE_ENCODEDBY     ROAR_META_TYPE_ENCODER
59
60
61#define ROAR_META_MODE_SET           0
62#define ROAR_META_MODE_ADD           1
63#define ROAR_META_MODE_DELETE        2
64#define ROAR_META_MODE_CLEAR         3
65
66#define ROAR_META_MAX_NAMELEN 32
67
68#define ROAR_META_MAX_PER_STREAM 16
69
70struct roar_meta {
71 int    type;
72 char   key[ROAR_META_MAX_NAMELEN];
73 char * value;
74};
75
76#endif
77
78//ll
Note: See TracBrowser for help on using the repository browser.