Mercurial > audlegacy-plugins
comparison src/alac/stream.h @ 56:56c88eee9802 trunk
[svn] - experimental ALAC plugin -- don't use this, it crashes
author | nenolod |
---|---|
date | Sat, 30 Sep 2006 19:26:34 -0700 |
parents | |
children | 74df3bd6f472 |
comparison
equal
deleted
inserted
replaced
55:4423278dc9ae | 56:56c88eee9802 |
---|---|
1 #ifndef STREAM_H | |
2 #define STREAM_H | |
3 | |
4 /* stream.h */ | |
5 | |
6 #include <stdint.h> | |
7 | |
8 #include <audacious/plugin.h> | |
9 #include <audacious/vfs.h> | |
10 | |
11 typedef struct stream_tTAG stream_t; | |
12 | |
13 void stream_read(stream_t *stream, size_t len, void *buf); | |
14 | |
15 int32_t stream_read_int32(stream_t *stream); | |
16 uint32_t stream_read_uint32(stream_t *stream); | |
17 | |
18 int16_t stream_read_int16(stream_t *stream); | |
19 uint16_t stream_read_uint16(stream_t *stream); | |
20 | |
21 int8_t stream_read_int8(stream_t *stream); | |
22 uint8_t stream_read_uint8(stream_t *stream); | |
23 | |
24 void stream_skip(stream_t *stream, size_t skip); | |
25 | |
26 int stream_eof(stream_t *stream); | |
27 | |
28 long stream_tell(stream_t *stream); | |
29 int stream_setpos(stream_t *stream, long pos); | |
30 | |
31 stream_t *stream_create_file(VFSFile *file, | |
32 int bigendian); | |
33 void stream_destroy(stream_t *stream); | |
34 | |
35 #endif /* STREAM_H */ | |
36 |