diff options
author | Takashi Iwai <tiwai@suse.de> | 2007-05-24 15:28:22 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2007-05-24 15:28:22 +0200 |
commit | aebdd9e980cc4e8497c06c8b65174c56e2047582 (patch) | |
tree | 3d57df16b90ef85bd0ced597f12ce077aaa1a1de /pph/rate_speexrate.c | |
parent | 8d4f7e4e6b62cdeb39b8996b2ee24dd5770c81ca (diff) |
Enable link with external libspeex
- Add --with-speex configure option to specify the build of speex rate
plugin. As default, it's linked to external library. If not available,
defaults to builtin code.
- Show build conditions at the end of configure script
- Use AS_HELP_TEXT()
Diffstat (limited to 'pph/rate_speexrate.c')
-rw-r--r-- | pph/rate_speexrate.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pph/rate_speexrate.c b/pph/rate_speexrate.c index 195b16d..9eb33b9 100644 --- a/pph/rate_speexrate.c +++ b/pph/rate_speexrate.c @@ -32,7 +32,11 @@ #include <alsa/asoundlib.h> #include <alsa/pcm_rate.h> +#ifdef USE_LIBSPEEX +#include <speex/speex_resampler.h> +#else #include "speex_resampler.h" +#endif struct rate_src { int quality; |