Module Name: src
Committed By: nia
Date: Sat Feb 6 11:58:10 UTC 2021
Modified Files:
src/share/man/man4: pad.4
Log Message:
Use /dev/audioX rather than /dev/soundX in examples.
Avoids accidentally running into confusing behavior.
To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/share/man/man4/pad.4
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/share/man/man4/pad.4
diff -u src/share/man/man4/pad.4:1.6 src/share/man/man4/pad.4:1.7
--- src/share/man/man4/pad.4:1.6 Mon Jul 3 21:30:58 2017
+++ src/share/man/man4/pad.4 Sat Feb 6 11:58:10 2021
@@ -1,4 +1,4 @@
-.\" $NetBSD: pad.4,v 1.6 2017/07/03 21:30:58 wiz Exp $
+.\" $NetBSD: pad.4,v 1.7 2021/02/06 11:58:10 nia Exp $
.\"
.\" Copyright (c) 2007 Jared D. McNeill <[email protected]>
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd November 11, 2007
+.Dd February 6, 2021
.Dt PAD 4
.Os
.Sh NAME
@@ -43,12 +43,12 @@ API to userland.
The
.Nm
pseudo-device driver receives data from
-.Pa /dev/soundN
+.Pa /dev/audioN
and feeds the raw PCM output to
.Pa /dev/padN .
.Bl -item
.It
-.Pa /dev/soundN
+.Pa /dev/audioN
.It
.Pa /dev/padN
.El
@@ -56,7 +56,7 @@ and feeds the raw PCM output to
The following example streams an MP3 to an Apple AirTunes compatible device:
.Bd -literal -offset indent
$ rtunes - < /dev/pad0 &
-$ mpg123 -a /dev/sound1 mozart.mp3
+$ mpg123 -a /dev/audio1 mozart.mp3
.Ed
.Sh SEE ALSO
.Xr audio 4