source: roaraudio/roard/include/codecfilter_vorbis.h @ 221:784858eb3885

Last change on this file since 221:784858eb3885 was 207:07ebcec64ab8, checked in by phi, 16 years ago

basic meta data support

File size: 759 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
27int cf_vorbis_update_stream (struct codecfilter_vorbis_inst * self);
28
29#endif
30
31//ll
Note: See TracBrowser for help on using the repository browser.