Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Jared D. McNeill <jmcneill@netbsd.org>
List: source-changes
Date: 11/11/2007 17:37:46
Module Name:	src
Committed By:	jmcneill
Date:		Sun Nov 11 17:37:46 UTC 2007

Modified Files:
	src/sys/conf: files majors
Added Files:
	src/sys/dev/pad: files.pad pad.c

Log Message:
Add pseudo audio device driver. With this pseudo-device, audio played back
via the standard audio interfaces is redirected back to userland as raw
PCM data on /dev/padN.

One example usage is to stream audio to an AirTunes compatible device using
rtunes (http://www.nazgul.ch/dev_rtunes.html), ie:

	$ rtunes - < /dev/pad0
	$ mpg123 -a /dev/sound1 blah.mp3

Another option is to capture audio output from eg. Real Player, by simply
instructing Real Player to output to /dev/sound1, and running:

	$ cat /dev/pad0 > blah.pcm


To generate a diff of this commit:
cvs rdiff -r1.871 -r1.872 src/sys/conf/files
cvs rdiff -r1.36 -r1.37 src/sys/conf/majors
cvs rdiff -r0 -r1.1 src/sys/dev/pad/files.pad src/sys/dev/pad/pad.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.