source: roaraudio/roard/include/codecfilter_speex.h @ 373:7c30708ecf0e

Last change on this file since 373:7c30708ecf0e was 373:7c30708ecf0e, checked in by phi, 16 years ago

added some dummy funcs for cf speex

File size: 968 bytes
Line 
1//codecfilter_speex.h.h:
2
3#ifndef _CODECFILTER_SPEEX_H_
4#define _CODECFILTER_SPEEX_H_
5
6#include <roaraudio.h>
7#include <speex/speex.h>
8
9struct codecfilter_speex_inst {
10 void * encoder;
11 void * decoder;
12 SpeexBits bits;
13
14/*
15 struct roar_stream_server * stream;
16 CELTMode * mode;
17 CELTEncoder * encoder;
18 CELTDecoder * decoder;
19 int frame_size;
20 int lookahead;
21 int out_size;
22 char * ibuf;
23 char * obuf;
24 char * i_rest;
25 char * o_rest;
26 int s_buf;
27 int fi_rest; /-* how much is in rest? *-/
28 int fo_rest; /-* how much is in rest? *-/
29*/
30};
31
32int cf_speex_open(CODECFILTER_USERDATA_T * inst, int codec,
33                                            struct roar_stream_server * info,
34                                            struct roar_codecfilter   * filter);
35
36int cf_speex_close(CODECFILTER_USERDATA_T   inst);
37
38int cf_speex_read(CODECFILTER_USERDATA_T   inst, char * buf, int len);
39int cf_speex_write(CODECFILTER_USERDATA_T   inst, char * buf, int len);
40
41#endif
42
43//ll
Note: See TracBrowser for help on using the repository browser.