Changeset 3010:f853cab15d30 in roaraudio
- Timestamp:
- 10/28/09 15:33:12 (15 years ago)
- Branch:
- default
- Phase:
- public
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
include/libroardsp/libroardsp.h
r3004 r3010 181 181 struct roardsp_agc { 182 182 struct roardsp_filter * amp; 183 uint32_t target_amp; 183 184 }; 184 185 … … 196 197 char * roardsp_filter_id2str(int id); 197 198 int roardsp_filter_new (struct roardsp_filter ** filter, struct roar_stream * stream, int id); 198 #define roardsp_filter_free(x) roar _dsp_filter_uninit((x))199 #define roardsp_filter_free(x) roardsp_filter_uninit((x)) 199 200 int roardsp_filter_init (struct roardsp_filter * filter, struct roar_stream * stream, int id); 200 201 int roardsp_filter_uninit(struct roardsp_filter * filter); … … 263 264 int roardsp_swap_reset (struct roardsp_filter * filter, int what); 264 265 266 int roardsp_agc_init (struct roardsp_filter * filter, struct roar_stream * stream, int id); 267 int roardsp_agc_uninit (struct roardsp_filter * filter); 268 int roardsp_agc_ctl (struct roardsp_filter * filter, int cmd, void * data); 269 int roardsp_agc_reset (struct roardsp_filter * filter, int what); 270 265 271 #ifdef _SPEEX_TYPES_H 266 272 int roardsp_speex_prep_init (struct roardsp_filter * filter, struct roar_stream * stream, int id); -
libroardsp/Makefile
r2992 r3010 7 7 OBJS=libroardsp.o convert.o midside.o poly.o filter.o filterchain.o remove.o transcode.o vio_transcode.o rms.o fader.o mixer.o amp.o 8 8 OLDROAR=midi.o 9 FILTER=filter_lowp.o filter_highp.o filter_amp.o filter_quantify.o filter_add.o filter_clip.o filter_downmix.o filter_dcblock.o filter_swap.o filter_ speex_prep.o9 FILTER=filter_lowp.o filter_highp.o filter_amp.o filter_quantify.o filter_add.o filter_clip.o filter_downmix.o filter_dcblock.o filter_swap.o filter_agc.o filter_speex_prep.o 10 10 MIDI=synth.o 11 11 CODECS=alaw.o mulaw.o -
libroardsp/filter.c
r3002 r3010 54 54 {ROARDSP_FILTER_SWAP, "Swap", roardsp_swap_init, roardsp_swap_uninit, roardsp_swap_ctl, roardsp_swap_reset, { 55 55 {NULL, NULL, NULL},{NULL, NULL, NULL},{NULL, NULL, roardsp_swap_calc162},{NULL, NULL, NULL},{NULL, NULL, NULL}}}, 56 {ROARDSP_FILTER_AGC, "AGC", roardsp_agc_init, roardsp_agc_uninit, roardsp_agc_ctl, roardsp_agc_reset, { 57 {NULL, NULL, NULL},{NULL, NULL, NULL},{NULL, NULL, NULL},{NULL, NULL, NULL},{NULL, NULL, NULL}}}, 56 58 {ROARDSP_FILTER_SPEEX_PREP, "SpeexPrep", roardsp_speex_prep_init, roardsp_speex_prep_uninit, 57 59 roardsp_speex_prep_ctl, roardsp_speex_prep_reset, {
Note: See TracChangeset
for help on using the changeset viewer.