OSDN Git Service

swr/resample: move templating parameters to template itself.
authorClément Bœsch <ubitux@gmail.com>
Wed, 14 Nov 2012 21:37:30 +0000 (22:37 +0100)
committerClément Bœsch <ubitux@gmail.com>
Thu, 15 Nov 2012 20:24:49 +0000 (21:24 +0100)
commit8ea8833979d2ffa9b7a792a2a758144d9b2c3da2
treeef333f1c20831ea2eebbd9c5d20ddad284293e17
parente31b1938acbe8bd9c5e1dc4be674601ec6823bcf
swr/resample: move templating parameters to template itself.

It has various benefits such as allowing some refactoring, clarifying
the code in the inclusion part, and making the template understandable
in standalone.

This commit is based on the templating method used by Justin Ruggles for
libavresample.
libswresample/resample.c
libswresample/resample_template.c