aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/audio.scm
diff options
context:
space:
mode:
authorTaylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>2015-02-20 21:49:03 +0100
committerTaylan Ulrich Bayırlı/Kammer <taylanbayirli@gmail.com>2015-02-25 15:38:17 +0100
commit4bddd14c11f94ca44bccc09fbe7aec276bcc5dd6 (patch)
tree5922edbd0d9ba171ded3a79f8a3dc02578d26871 /gnu/packages/audio.scm
parent754a98ae42c490b4c07dbfa8c781395c5896ea4a (diff)
downloadguix-4bddd14c11f94ca44bccc09fbe7aec276bcc5dd6.tar
guix-4bddd14c11f94ca44bccc09fbe7aec276bcc5dd6.tar.gz
gnu: Add soxr.
* gnu/packages/audio.scm (soxr): New variable.
Diffstat (limited to 'gnu/packages/audio.scm')
-rw-r--r--gnu/packages/audio.scm22
1 files changed, 22 insertions, 0 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index e16187701f..aa29ddaa56 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -25,6 +25,7 @@
#:use-module (guix build-system gnu)
#:use-module (guix build-system waf)
#:use-module (guix build-system trivial)
+ #:use-module (guix build-system cmake)
#:use-module (gnu packages)
#:use-module (gnu packages algebra)
#:use-module (gnu packages autotools)
@@ -819,3 +820,24 @@ and playback rates of audio streams or audio files. It is intended for
application developers writing sound processing tools that require tempo/pitch
control functionality, or just for playing around with the sound effects.")
(license license:lgpl2.1+)))
+
+(define-public soxr
+ (package
+ (name "soxr")
+ (version "0.1.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri
+ (string-append "mirror://sourceforge/soxr/soxr-" version
+ "-Source.tar.xz"))
+ (sha256
+ (base32 "1hmadwqfpg15vhwq9pa1sl5xslibrjpk6hpq2s9hfmx1s5l6ihfw"))))
+ (build-system cmake-build-system)
+ (arguments '(#:tests? #f)) ;no 'check' target
+ (home-page "http://sourceforge.net/p/soxr/wiki/Home/")
+ (synopsis "One-dimensional sample-rate conversion library")
+ (description
+ "The SoX Resampler library (libsoxr) performs one-dimensional sample-rate
+conversion. It may be used, for example, to resample PCM-encoded audio.")
+ (license license:lgpl2.1+)))