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>
|
.\" Copyright (c) 2007 Jared D. McNeill <jmcneill@invisible.ca>
|
||||||
.\" All rights reserved.
|
.\" All rights reserved.
|
||||||
|
@ -24,7 +24,7 @@
|
||||||
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
.\" ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
.\" POSSIBILITY OF SUCH DAMAGE.
|
.\" POSSIBILITY OF SUCH DAMAGE.
|
||||||
.\"
|
.\"
|
||||||
.Dd November 11, 2007
|
.Dd February 6, 2021
|
||||||
.Dt PAD 4
|
.Dt PAD 4
|
||||||
.Os
|
.Os
|
||||||
.Sh NAME
|
.Sh NAME
|
||||||
|
@ -43,12 +43,12 @@ API to userland.
|
||||||
The
|
The
|
||||||
.Nm
|
.Nm
|
||||||
pseudo-device driver receives data from
|
pseudo-device driver receives data from
|
||||||
.Pa /dev/soundN
|
.Pa /dev/audioN
|
||||||
and feeds the raw PCM output to
|
and feeds the raw PCM output to
|
||||||
.Pa /dev/padN .
|
.Pa /dev/padN .
|
||||||
.Bl -item
|
.Bl -item
|
||||||
.It
|
.It
|
||||||
.Pa /dev/soundN
|
.Pa /dev/audioN
|
||||||
.It
|
.It
|
||||||
.Pa /dev/padN
|
.Pa /dev/padN
|
||||||
.El
|
.El
|
||||||
|
@ -56,7 +56,7 @@ and feeds the raw PCM output to
|
||||||
The following example streams an MP3 to an Apple AirTunes compatible device:
|
The following example streams an MP3 to an Apple AirTunes compatible device:
|
||||||
.Bd -literal -offset indent
|
.Bd -literal -offset indent
|
||||||
$ rtunes - < /dev/pad0 &
|
$ rtunes - < /dev/pad0 &
|
||||||
$ mpg123 -a /dev/sound1 mozart.mp3
|
$ mpg123 -a /dev/audio1 mozart.mp3
|
||||||
.Ed
|
.Ed
|
||||||
.Sh SEE ALSO
|
.Sh SEE ALSO
|
||||||
.Xr audio 4
|
.Xr audio 4
|
||||||
|
|
Loading…
Reference in New Issue