From e12140cfce88985f9fcecb93214a94a0b9c33e7f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 14 Mar 2009 15:26:36 +0100 Subject: pcm_resample: choose the fallback resampler at runtime Even if libsamplerate support is enabled, compile the fallback resampler. When the user specifies the option "samplerate_converter=internal", it is chosen in favor of libsamplerate. This may help users with a weak FPU who don't want to compile a custom MPD from source, because the fallback resampler does not use floating point operations. --- Makefile.am | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 508cba28b..9c0245923 100644 --- a/Makefile.am +++ b/Makefile.am @@ -198,6 +198,7 @@ src_mpd_SOURCES = \ src/pcm_channels.c \ src/pcm_format.c \ src/pcm_resample.c \ + src/pcm_resample_fallback.c \ src/pcm_dither.c \ src/permission.c \ src/player_thread.c \ @@ -240,8 +241,6 @@ endif if HAVE_LIBSAMPLERATE src_mpd_SOURCES += src/pcm_resample_libsamplerate.c -else -src_mpd_SOURCES += src/pcm_resample_fallback.c endif if HAVE_ID3TAG -- cgit v1.2.3