Changeset 5269:b914e5b61703 in roaraudio for libroardsp
- Timestamp:
- 11/17/11 00:32:28 (12 years ago)
- Branch:
- default
- Phase:
- public
- Location:
- libroardsp
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libroardsp/Makefile
r4748 r5269 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 interleave.o channels.o resampler_poly3.o float.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_agc.o filter_speex_prep.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_agc.o filter_speex_prep.o filter_responsecurve.o 10 10 MIDI=synth.o 11 11 CODECS=alaw.o mulaw.o -
libroardsp/filter.c
r5181 r5269 69 69 {NULL, NULL, NULL},{NULL, NULL, NULL},{NULL, roardsp_speex_prep_calc161, NULL},{NULL, NULL, NULL},{NULL, NULL, NULL}}}, 70 70 #endif 71 {ROARDSP_FILTER_RESPONSE_CURVE, "ResponseCurve", roardsp_responsecurve_init, roardsp_responsecurve_uninit, 72 roardsp_responsecurve_ctl, roardsp_responsecurve_reset, { 73 {NULL, NULL, NULL},{roardsp_responsecurve_calc8, NULL, NULL},{roardsp_responsecurve_calc16, NULL, NULL}, 74 {NULL, NULL, NULL},{roardsp_responsecurve_calc32, NULL, NULL} 75 }}, 71 76 {-1, NULL, NULL, NULL, NULL, NULL, { 72 77 // ? 8Bit 16Bit 24Bit 32Bit … … 75 80 }; 76 81 77 int roardsp_filter_str2id(c har * str) {82 int roardsp_filter_str2id(const char * str) { 78 83 struct _roardsp_filterlist * l = _roardsp_filterlist; 79 84 … … 88 93 } 89 94 90 c har * roardsp_filter_id2str(int id) {95 const char * roardsp_filter_id2str(const int id) { 91 96 struct _roardsp_filterlist * l = _roardsp_filterlist; 92 97 … … 170 175 filter->reset = l->reset; 171 176 177 ROAR_DBG("roardsp_filter_init(filter=%p, stream=%p, id=%i): bytes=%i", filter, stream, id, bytes); 178 172 179 if ( filter->channels < 3 ) 173 180 calc = l->calc[bytes][filter->channels];
Note: See TracChangeset
for help on using the changeset viewer.