aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinicius Monego <monego@posteo.net>2020-08-19 20:56:02 -0300
committerLeo Famulari <leo@famulari.name>2020-08-22 13:39:28 -0400
commitb6568c35266d75bb6e3c6e2c1981abfdac364961 (patch)
tree33ce627bb97ef5a96ae333caa2ff9caa0fb3503c
parent2183887ba90fc102684277721314d71c556e59c5 (diff)
downloadguix-b6568c35266d75bb6e3c6e2c1981abfdac364961.tar.gz
guix-b6568c35266d75bb6e3c6e2c1981abfdac364961.zip
gnu: Add rtaudio.
* gnu/packages/audio.scm (rtaudio): New variable. Signed-off-by: Leo Famulari <leo@famulari.name>
-rw-r--r--gnu/packages/audio.scm42
1 files changed, 42 insertions, 0 deletions
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 85ef4e5f11..91da5cd4f9 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -2283,6 +2283,48 @@ with applications that support them (e.g. PulseAudio).")
implementation of the Open Sound Control (@dfn{OSC}) protocol.")
(license license:lgpl2.1+)))
+(define-public rtaudio
+ (package
+ (name "rtaudio")
+ (version "5.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/thestk/rtaudio")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "156c2dgh6jrsyfn1y89nslvaxm4yifmxridsb708yvkaym02w2l8"))))
+ (build-system cmake-build-system)
+ (native-inputs
+ `(("pkg-config" ,pkg-config)))
+ (inputs
+ `(("alsa-lib" ,alsa-lib)
+ ("jack" ,jack-1)
+ ("pulseaudio" ,pulseaudio)))
+ (synopsis "Common API for real-time audio I/O")
+ (description
+ "RtAudio is a set of C++ classes that provides a common API for real-time
+audio input/output. It was designed with the following objectives:
+
+@itemize
+@item object-oriented C++ design
+@item simple, common API across all supported platforms
+@item only one source and one header file for easy inclusion in programming
+projects
+@item allow simultaneous multi-api support
+@item support dynamic connection of devices
+@item provide extensive audio device parameter control
+@item allow audio device capability probing
+@item automatic internal conversion for data format, channel number
+compensation, (de)interleaving, and byte-swapping
+@end itemize")
+ (home-page "https://www.music.mcgill.ca/~gary/rtaudio/")
+ ;; License is expat with a non-binding request to send modifications to
+ ;; original developer.
+ (license license:expat)))
+
(define-public python-pyaudio
(package
(name "python-pyaudio")