source: roaraudio/roard/include/codecfilter_vorbis.h @ 205:1053e00bbeb7

Last change on this file since 205:1053e00bbeb7 was 205:1053e00bbeb7, checked in by phi, 16 years ago

playing around with cf_vorbis*

File size: 689 bytes
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
10struct 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
19int cf_vorbis_open(CODECFILTER_USERDATA_T * inst, int codec,
20                                            struct roar_stream_server * info,
21                                            struct roar_codecfilter   * filter);
22
23int cf_vorbis_close(CODECFILTER_USERDATA_T   inst);
24
25int cf_vorbis_read(CODECFILTER_USERDATA_T   inst, char * buf, int len);
26
27#endif
28
29//ll
Note: See TracBrowser for help on using the repository browser.