From 6b1c54ef9646abddfbd4960c207b32426300a90c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 23 Oct 2008 20:00:51 +0200 Subject: pcm_utils: moved code to pcm_resample.c Separate the resampling code from the rest of pcm_utils.c. Create two sub-libraries: pcm_resample_libsamplerate.c and pcm_resample_fallback.c. --- src/Makefile.am | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/Makefile.am') diff --git a/src/Makefile.am b/src/Makefile.am index f2bf55eb1..47a121484 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -66,6 +66,7 @@ mpd_headers = \ path.h \ mapper.h \ pcm_utils.h \ + pcm_resample.h \ pcm_dither.h \ permission.h \ player_thread.h \ @@ -146,6 +147,7 @@ mpd_SOURCES = \ path.c \ mapper.c \ pcm_utils.c \ + pcm_resample.c \ pcm_dither.c \ permission.c \ player_thread.c \ @@ -176,6 +178,12 @@ mpd_SOURCES = \ stored_playlist.c \ timer.c +if HAVE_LIBSAMPLERATE +mpd_SOURCES += pcm_resample_libsamplerate.c +else +mpd_SOURCES += pcm_resample_fallback.c +endif + if HAVE_ID3TAG mpd_SOURCES += tag_id3.c endif -- cgit v1.2.3