Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/share/man/man4 Use /dev/audioX rather than /dev/soundX in ex...



details:   https://anonhg.NetBSD.org/src/rev/09a1c07d5c8b
branches:  trunk
changeset: 959253:09a1c07d5c8b
user:      nia <nia%NetBSD.org@localhost>
date:      Sat Feb 06 11:58:10 2021 +0000

description:
Use /dev/audioX rather than /dev/soundX in examples.

Avoids accidentally running into confusing behavior.

diffstat:

 share/man/man4/pad.4 |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (42 lines):

diff -r a395d8782be0 -r 09a1c07d5c8b share/man/man4/pad.4
--- a/share/man/man4/pad.4      Sat Feb 06 09:45:17 2021 +0000
+++ b/share/man/man4/pad.4      Sat Feb 06 11:58:10 2021 +0000
@@ -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 <jmcneill%invisible.ca@localhost>
 .\" 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 @@
 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 @@
 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



Home | Main Index | Thread Index | Old Index