annotate Plugins/General/scrobbler/tags/include/wma.h @ 811:86ca43d8a845 trunk

[svn] - implement vfs_feof() and vfs_ftell() and update the scrobbler plugin to reflect that, by external contributor: Leonardo Boshell <leonardop -at- gentoo.org>
author nenolod
date Thu, 09 Mar 2006 19:03:27 -0800
parents cc1969408403
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
688
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
1 /*
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
2 * libmetatag - A media file tag-reader library
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
3 * Copyright (C) 2004 Pipian
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
4 *
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
5 * This library is free software; you can redistribute it and/or
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
6 * modify it under the terms of the GNU Lesser General Public
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
7 * License as published by the Free Software Foundation; either
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
8 * version 2.1 of the License, or (at your option) any later version.
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
9 *
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
10 * This library is distributed in the hope that it will be useful,
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
13 * Lesser General Public License for more details.
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
14 *
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
15 * You should have received a copy of the GNU Lesser General Public
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
16 * License along with this library; if not, write to the Free Software
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
17 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
18 *
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
19 */
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
20
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
21 #ifndef WMA_H
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
22 #define WMA_H 1
811
86ca43d8a845 [svn] - implement vfs_feof() and vfs_ftell() and update the scrobbler plugin to reflect that,
nenolod
parents: 688
diff changeset
23
86ca43d8a845 [svn] - implement vfs_feof() and vfs_ftell() and update the scrobbler plugin to reflect that,
nenolod
parents: 688
diff changeset
24 #include <libaudacious/vfs.h>
86ca43d8a845 [svn] - implement vfs_feof() and vfs_ftell() and update the scrobbler plugin to reflect that,
nenolod
parents: 688
diff changeset
25
688
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
26 typedef struct
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
27 {
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
28 unsigned char *data, *name;
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
29 int type;
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
30 } attribute_t;
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
31
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
32 typedef struct
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
33 {
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
34 unsigned int numitems;
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
35 attribute_t **items;
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
36 } wma_t;
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
37
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
38 #ifndef MAKE_BMP
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
39 int findWMA(VFSFile *);
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
40 #else
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
41 int findWMA(VFSFile *);
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
42 #endif
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
43 wma_t *readWMA(char *);
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
44 void freeWMA(wma_t *);
cc1969408403 [svn] - add scrobbler support
nenolod
parents:
diff changeset
45 #endif