source: roaraudio/roard/include/codecfilter_vorbis.h @ 222:3975f41364fa

Last change on this file since 222:3975f41364fa was 222:3975f41364fa, checked in by phi, 16 years ago

added ReplayGain? support to codecfilter_vorbis

File size: 777 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#include <math.h>
10
11struct 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
20int cf_vorbis_open(CODECFILTER_USERDATA_T * inst, int codec,
21                                            struct roar_stream_server * info,
22                                            struct roar_codecfilter   * filter);
23
24int cf_vorbis_close(CODECFILTER_USERDATA_T   inst);
25
26int cf_vorbis_read(CODECFILTER_USERDATA_T   inst, char * buf, int len);
27
28int 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.