Line | |
---|
1 | //codecfilter_vorbis.h: |
---|
2 | |
---|
3 | #ifndef _CODECFILTER_VORBIS_H_ |
---|
4 | #define _CODECFILTER_VORBIS_H_ |
---|
5 | |
---|
6 | #include <roaraudio.h> |
---|
7 | #include <vorbis/codec.h> |
---|
8 | #include <vorbis/vorbisfile.h> |
---|
9 | #include <math.h> |
---|
10 | |
---|
11 | struct codecfilter_vorbis_inst { |
---|
12 | int current_section; |
---|
13 | int last_section; |
---|
14 | int opened; |
---|
15 | FILE * in; |
---|
16 | struct roar_stream_server * stream; |
---|
17 | OggVorbis_File vf; |
---|
18 | }; |
---|
19 | |
---|
20 | int cf_vorbis_open(CODECFILTER_USERDATA_T * inst, int codec, |
---|
21 | struct roar_stream_server * info, |
---|
22 | struct roar_codecfilter * filter); |
---|
23 | |
---|
24 | int cf_vorbis_close(CODECFILTER_USERDATA_T inst); |
---|
25 | |
---|
26 | int cf_vorbis_read(CODECFILTER_USERDATA_T inst, char * buf, int len); |
---|
27 | |
---|
28 | int cf_vorbis_update_stream (struct codecfilter_vorbis_inst * self); |
---|
29 | |
---|
30 | #endif |
---|
31 | |
---|
32 | //ll |
---|
Note: See
TracBrowser
for help on using the repository browser.