2009-12-22 20:33:22 +00:00
|
|
|
# Template file for 'libsamplerate'
|
|
|
|
pkgname=libsamplerate
|
|
|
|
version=0.1.7
|
2011-02-05 08:29:14 +00:00
|
|
|
revision=1
|
2009-12-22 20:33:22 +00:00
|
|
|
distfiles="http://www.mega-nerd.com/SRC/$pkgname-$version.tar.gz"
|
|
|
|
build_style=gnu_configure
|
2011-02-05 08:29:14 +00:00
|
|
|
configure_args="CFLAGS=-fPIC"
|
2009-12-22 20:33:22 +00:00
|
|
|
short_desc="Sample Rate Converter for audio"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2010-12-13 21:25:34 +00:00
|
|
|
checksum=78ed5d9ff1bf162c4a078f6a3e7432a537dd2f22dc58872b081fb01156027fcc
|
2009-12-22 20:33:22 +00: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 run glibc
|
|
|
|
Add_dependency run libsndfile
|
|
|
|
Add_dependency build libsndfile-devel
|