Changeset 373:7c30708ecf0e in roaraudio
- Timestamp:
- 08/05/08 03:34:16 (16 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- roard
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
roard/codecfilter.c
r362 r373 22 22 {ROAR_CODEC_ROAR_CELT, "RoarCELT", "RoarAudio CELT", NULL, 23 23 cf_celt_open, cf_celt_close, NULL, NULL, cf_celt_read, NULL}, 24 #endif 25 26 #ifdef ROAR_HAVE_LIBSPEEX 27 {ROAR_CODEC_ROAR_SPEEX, "RoarSPPEX", "RoarAudio SPEEX", NULL, 28 cf_speex_open, cf_speex_close, NULL, NULL, cf_speex_read, NULL}, 24 29 #endif 25 30 -
roard/codecfilter_speex.c
r371 r373 4 4 #ifdef ROAR_HAVE_LIBSPEEX 5 5 6 int cf_speex_open(CODECFILTER_USERDATA_T * inst, int codec, 7 struct roar_stream_server * info, 8 struct roar_codecfilter * filter) { 9 *inst = NULL; 10 return -1; 11 } 12 13 int cf_speex_close(CODECFILTER_USERDATA_T inst) { 14 return -1; 15 } 16 17 int cf_speex_read(CODECFILTER_USERDATA_T inst, char * buf, int len) { 18 return -1; 19 } 20 int cf_speex_write(CODECFILTER_USERDATA_T inst, char * buf, int len) { 21 return -1; 22 } 23 6 24 #endif 7 25 -
roard/include/codecfilter_speex.h
r372 r373 5 5 6 6 #include <roaraudio.h> 7 #include <speex/speex.h> 7 8 8 9 struct codecfilter_speex_inst { 10 void * encoder; 11 void * decoder; 12 SpeexBits bits; 13 9 14 /* 10 15 struct roar_stream_server * stream;
Note: See TracChangeset
for help on using the changeset viewer.