Use /dev/audioX rather than /dev/soundX in examples.
Avoids accidentally running into confusing behavior.
This commit is contained in:
parent
75ba478936
commit
0d373c9fc6
|
@ -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>
|
||||
.\" 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
|
||||
|
|
Loading…
Reference in New Issue