From 0d373c9fc66196d08fea67c92640ee7263ed7fb6 Mon Sep 17 00:00:00 2001 From: nia Date: Sat, 6 Feb 2021 11:58:10 +0000 Subject: [PATCH] Use /dev/audioX rather than /dev/soundX in examples. Avoids accidentally running into confusing behavior. --- share/man/man4/pad.4 | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/share/man/man4/pad.4 b/share/man/man4/pad.4 index b58aff99a1a5..daa454d4bcf1 100644 --- a/share/man/man4/pad.4 +++ b/share/man/man4/pad.4 @@ -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 .\" 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