X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=filter.h;h=8c1c9e0d431c26e20a01fff76a2f3edb5e57c054;hp=550c68d64c783113d7c99aa1e0a37fde564cd188;hb=97e3deb06e0dd2e63520c2dc0736e753e1276fde;hpb=fde9a429e586861268453731f84713a61bacbd30 diff --git a/filter.h b/filter.h index 550c68d6..8c1c9e0d 100644 --- a/filter.h +++ b/filter.h @@ -34,6 +34,7 @@ struct filter_node { /** 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. @@ -233,6 +234,7 @@ extern struct filter filters[]; /* 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 @@ -261,6 +263,7 @@ DECLARE_EXTERN_FILTER_INIT(oggdec); #define DEFINE_FILTER_ARRAY(filters) struct filter filters[] = { \ FILTER_INIT(wav) \ FILTER_INIT(compress) \ + FILTER_INIT(amp) \ MP3DEC_FILTER \ AACDEC_FILTER \ OGGDEC_FILTER \