2009-12-22 21:33:22 +01:00
|
|
|
# Template file for 'libsamplerate'
|
|
|
|
pkgname=libsamplerate
|
|
|
|
version=0.1.7
|
2011-11-14 18:12:47 +01:00
|
|
|
revision=3
|
2009-12-22 21:33:22 +01:00
|
|
|
distfiles="http://www.mega-nerd.com/SRC/$pkgname-$version.tar.gz"
|
2011-10-24 14:14:47 +02:00
|
|
|
build_style=gnu-configure
|
2011-02-05 09:29:14 +01:00
|
|
|
configure_args="CFLAGS=-fPIC"
|
2009-12-22 21:33:22 +01:00
|
|
|
short_desc="Sample Rate Converter for audio"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-12-13 22:25:34 +01:00
|
|
|
checksum=78ed5d9ff1bf162c4a078f6a3e7432a537dd2f22dc58872b081fb01156027fcc
|
2009-12-22 21:33:22 +01:00
|
|
|
long_desc="
|
|
|
|
One example of where such a thing would be useful is converting audio from
|
|
|
|
the CD sample rate of 44.1kHz to the 48kHz sample rate used by DAT players.
|
|
|
|
|
|
|
|
SRC is capable of arbitrary and time varying conversions; from downsampling
|
|
|
|
by a factor of 256 to upsampling by the same factor. Arbitrary in this case
|
|
|
|
means that the ratio of input and output sample rates can be an irrational
|
|
|
|
number. The conversion ratio can also vary with time for speeding up and
|
|
|
|
slowing down effects."
|
|
|
|
|
|
|
|
subpackages="$pkgname-devel"
|
|
|
|
Add_dependency build libsndfile-devel
|