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