* [bug#42942] [PATCH] gnu: Add rtaudio.
@ 2020-08-19 23:56 Vinicius Monego
2020-08-22 17:40 ` Leo Famulari
0 siblings, 1 reply; 2+ messages in thread
From: Vinicius Monego @ 2020-08-19 23:56 UTC (permalink / raw)
To: 42942; +Cc: Vinicius Monego
* gnu/packages/audio.scm (rtaudio): New variable.
---
gnu/packages/audio.scm | 42 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index 37eca6c291..ca42dcffbe 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -1992,6 +1992,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)
+ (home-page "https://www.music.mcgill.ca/~gary/rtaudio/")
+ (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")
+ ;; 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")
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [bug#42942] [PATCH] gnu: Add rtaudio.
2020-08-19 23:56 [bug#42942] [PATCH] gnu: Add rtaudio Vinicius Monego
@ 2020-08-22 17:40 ` Leo Famulari
0 siblings, 0 replies; 2+ messages in thread
From: Leo Famulari @ 2020-08-22 17:40 UTC (permalink / raw)
To: Vinicius Monego; +Cc: 42942
On Wed, Aug 19, 2020 at 08:56:02PM -0300, Vinicius Monego wrote:
> * gnu/packages/audio.scm (rtaudio): New variable.
Thanks! Pushed as b6568c35266d75bb6e3c6e2c1981abfdac364961
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-22 17:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-19 23:56 [bug#42942] [PATCH] gnu: Add rtaudio Vinicius Monego
2020-08-22 17:40 ` Leo Famulari
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).