/** Describes one running instance of a chain of filters */
struct filter_chain {
+ /** The length of the filter chain. */
unsigned int num_filters;
/**
* The number of channels of the current stream.
/* filters that are always present */
DECLARE_EXTERN_FILTER_INIT(wav);
DECLARE_EXTERN_FILTER_INIT(compress);
+DECLARE_EXTERN_FILTER_INIT(amp);
/* next the optional filters */
#ifdef HAVE_MAD
#define DEFINE_FILTER_ARRAY(filters) struct filter filters[] = { \
FILTER_INIT(wav) \
FILTER_INIT(compress) \
+ FILTER_INIT(amp) \
MP3DEC_FILTER \
AACDEC_FILTER \
OGGDEC_FILTER \