Changeset 3029:816a2dba7285 in roaraudio


Ignore:
Timestamp:
11/04/09 17:27:59 (14 years ago)
Author:
phi
Branch:
default
Phase:
public
Message:

test if we have the speex filter

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • include/libroardsp/libroardsp.h

    r3010 r3029  
    270270 
    271271#ifdef _SPEEX_TYPES_H 
     272#define ROAR_HAVE_SPEEX_FILTER 
    272273int roardsp_speex_prep_init   (struct roardsp_filter * filter, struct roar_stream * stream, int id); 
    273274int roardsp_speex_prep_uninit (struct roardsp_filter * filter); 
  • libroardsp/filter.c

    r3010 r3029  
    5656 {ROARDSP_FILTER_AGC, "AGC", roardsp_agc_init, roardsp_agc_uninit, roardsp_agc_ctl, roardsp_agc_reset, { 
    5757           {NULL, NULL, NULL},{NULL, NULL, NULL},{NULL, NULL, NULL},{NULL, NULL, NULL},{NULL, NULL, NULL}}}, 
     58#ifdef ROAR_HAVE_SPEEX_FILTER 
    5859 {ROARDSP_FILTER_SPEEX_PREP, "SpeexPrep", roardsp_speex_prep_init, roardsp_speex_prep_uninit, 
    5960                                          roardsp_speex_prep_ctl,  roardsp_speex_prep_reset, { 
    6061           {NULL, NULL, NULL},{NULL, NULL, NULL},{NULL, roardsp_speex_prep_calc161, NULL},{NULL, NULL, NULL},{NULL, NULL, NULL}}}, 
     62#endif 
    6163 {-1, NULL, NULL, NULL, NULL, NULL, { 
    6264      // ?                  8Bit               16Bit              24Bit              32Bit 
Note: See TracChangeset for help on using the changeset viewer.