From 08e6cf3dd2c917bcc32ea8bc3a77993b42d4fb9d Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 14 Mar 2014 09:21:56 +0100 Subject: pcm/PcmFormat: eliminate more duplicate code with templates Refactor the conversion functions to classes and pass an instance to the new function AllocateConvert(). --- Makefile.am | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 9866d2936..e1a5415d8 100644 --- a/Makefile.am +++ b/Makefile.am @@ -450,6 +450,8 @@ libpcm_a_SOURCES = \ src/pcm/PcmChannels.cxx src/pcm/PcmChannels.hxx \ src/pcm/PcmPack.cxx src/pcm/PcmPack.hxx \ src/pcm/PcmFormat.cxx src/pcm/PcmFormat.hxx \ + src/pcm/FloatConvert.hxx \ + src/pcm/ShiftConvert.hxx \ src/pcm/FormatConverter.cxx src/pcm/FormatConverter.hxx \ src/pcm/ChannelsConverter.cxx src/pcm/ChannelsConverter.hxx \ src/pcm/Resampler.hxx \ -- cgit v1.2.3