From 99676f798e74d5156c37641ff07be51e031df95d Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Sat, 21 Sep 2002 06:54:59 +0000 Subject: add vsound 0.5 Utility for capturing audio streams from programs with OSS output PR: 39228 Submitted by: Rahul Siddharthan --- audio/Makefile | 1 + audio/vsound/Makefile | 25 +++++++++++++++++++++++++ audio/vsound/distinfo | 1 + audio/vsound/pkg-comment | 1 + audio/vsound/pkg-descr | 18 ++++++++++++++++++ audio/vsound/pkg-plist | 5 +++++ 6 files changed, 51 insertions(+) create mode 100644 audio/vsound/Makefile create mode 100644 audio/vsound/distinfo create mode 100644 audio/vsound/pkg-comment create mode 100644 audio/vsound/pkg-descr create mode 100644 audio/vsound/pkg-plist (limited to 'audio') diff --git a/audio/Makefile b/audio/Makefile index e183819bc797..8965218b50fa 100644 --- a/audio/Makefile +++ b/audio/Makefile @@ -251,6 +251,7 @@ SUBDIR += tracker SUBDIR += umix SUBDIR += vorbis-tools + SUBDIR += vsound SUBDIR += waveplay SUBDIR += wavplay SUBDIR += wmcdplay diff --git a/audio/vsound/Makefile b/audio/vsound/Makefile new file mode 100644 index 000000000000..7fe80c92ad3d --- /dev/null +++ b/audio/vsound/Makefile @@ -0,0 +1,25 @@ +# New ports collection makefile for: linux-vsound +# Date created: 13 June 2002 +# Whom: Rahul Siddharthan +# +# $FreeBSD$ +# + +PORTNAME= vsound +PORTVERSION= 0.5 +CATEGORIES= audio +MASTER_SITES= http://www.zip.com.au/~erikd/vsound/ + +MAINTAINER= rsidd@online.fr + +RUN_DEPENDS= sox:${PORTSDIR}/audio/sox + +USE_LIBTOOL= yes + +.if !defined(NOPORTDOCS) +post-install: + @${MKDIR} ${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} +.endif + +.include diff --git a/audio/vsound/distinfo b/audio/vsound/distinfo new file mode 100644 index 000000000000..bbb4de875fd8 --- /dev/null +++ b/audio/vsound/distinfo @@ -0,0 +1 @@ +MD5 (vsound-0.5.tar.gz) = 77016cfa2c3ba45d051881051a75ac06 diff --git a/audio/vsound/pkg-comment b/audio/vsound/pkg-comment new file mode 100644 index 000000000000..0ca9c24f02ac --- /dev/null +++ b/audio/vsound/pkg-comment @@ -0,0 +1 @@ +Utility for capturing audio streams from programs with OSS output diff --git a/audio/vsound/pkg-descr b/audio/vsound/pkg-descr new file mode 100644 index 000000000000..a896c73f69ff --- /dev/null +++ b/audio/vsound/pkg-descr @@ -0,0 +1,18 @@ +This program allows you to record the output of any standard OSS +program (one that uses /dev/dsp for sound) without having to modify or +recompile the program. It uses the same idea as the esddsp wrapper +from the Enlightened Sound Daemon (in fact, vsound is based on +esddsp). That is, it preloads a library that intercepts calls to open +/dev/dsp, and instead returns a handle to a normal file. It also +intercepts ioctl's on that file handle and logs them, to help convert +the audio data from its raw form. Vsound then uses sox to convert the +raw data to the desired file format. + +The upshoot of this is that instead of playing sound to the sound card +in your computer, the data is recorded to a file. This is similar to +if you connected a loopback cable to the line in and line out jacks on +your sound card, but no DA or AD conversions take place, so quality is +not lost. + +Erik de Castro Lopo +WWW: http://www.zip.com.au/~erikd/vsound/ diff --git a/audio/vsound/pkg-plist b/audio/vsound/pkg-plist new file mode 100644 index 000000000000..787e119c438a --- /dev/null +++ b/audio/vsound/pkg-plist @@ -0,0 +1,5 @@ +bin/vsound +lib/vsound/libvsound.so +@dirrm lib/vsound +%%PORTDOCS%%share/doc/vsound/README +%%PORTDOCS%%@dirrm share/doc/vsound -- cgit v1.2.3