Deleted Added
full compact
pcm.4 (79538) pcm.4 (84877)
1.\"
2.\" Copyright (c) 1998, Luigi Rizzo
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
1.\"
2.\" Copyright (c) 1998, Luigi Rizzo
3.\" All rights reserved.
4.\"
5.\" Redistribution and use in source and binary forms, with or without
6.\" modification, are permitted provided that the following conditions
7.\" are met:
8.\" 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24.\" SUCH DAMAGE.
25.\"
26.\" $FreeBSD: head/share/man/man4/pcm.4 79538 2001-07-10 15:31:11Z ru $
26.\" $FreeBSD: head/share/man/man4/pcm.4 84877 2001-10-13 09:08:37Z yokota $
27.\"
28.Dd June 3, 1998
29.Dt PCM 4
30.Os
31.Sh NAME
32.Nm pcm ,
33.Nm snd
34.Nd FreeBSD PCM audio device driver
35.Sh SYNOPSIS
36For a card with bridge driver support, and a PnP card:
37.Cd "device pcm"
38.Pp
27.\"
28.Dd June 3, 1998
29.Dt PCM 4
30.Os
31.Sh NAME
32.Nm pcm ,
33.Nm snd
34.Nd FreeBSD PCM audio device driver
35.Sh SYNOPSIS
36For a card with bridge driver support, and a PnP card:
37.Cd "device pcm"
38.Pp
39For a card without bridge driver support, and a non-PnP card:
40.Cd "device pcm0 at isa? port? irq 5 drq 1 flags 0x15"
39For a card without bridge driver support, and a non-PnP card,
40the following lines may be required in
41.Pa /boot/device.hints :
42.Cd hint.pcm.0.at="isa"
43.Cd hint.pcm.0.irq="5"
44.Cd hint.pcm.0.drq="1"
45.Cd hint.pcm.0.flags="0x0"
41.Sh DESCRIPTION
42The
43.Nm
44driver provides support for PCM audio play and capture.
45This driver
46also supports various PCI and WSS/MSS compatible ISA sound cards, and
47AC97 mixer.
48True full duplex operation is available on most cards.

--- 9 unchanged lines hidden (view full) ---

58channel, or to 0x10 + C to specify channel C.
59.Pp
60The driver works best with WSS/MSS cards, which have a very clean
61architecture and an orthogonal set of features.
62They also happen to be
63among the cheapest audio cards on the market.
64.Pp
65The driver does its best to recognize the installed hardware and drive
46.Sh DESCRIPTION
47The
48.Nm
49driver provides support for PCM audio play and capture.
50This driver
51also supports various PCI and WSS/MSS compatible ISA sound cards, and
52AC97 mixer.
53True full duplex operation is available on most cards.

--- 9 unchanged lines hidden (view full) ---

63channel, or to 0x10 + C to specify channel C.
64.Pp
65The driver works best with WSS/MSS cards, which have a very clean
66architecture and an orthogonal set of features.
67They also happen to be
68among the cheapest audio cards on the market.
69.Pp
70The driver does its best to recognize the installed hardware and drive
66it correctly, so that you don't have to give too many details in the
67kernel config files.
71it correctly, so that you don't have to give too many details in
72.Pa /boot/device.hints .
68For PCI and ISA PnP cards this is actually easy
69since they identify themselves.
70For legacy ISA cards, the driver looks
71for MSS cards at addresses 0x530 and 0x604 (obviously, unless overridden
73For PCI and ISA PnP cards this is actually easy
74since they identify themselves.
75For legacy ISA cards, the driver looks
76for MSS cards at addresses 0x530 and 0x604 (obviously, unless overridden
72in the kernel config file by specifying an address).
77in
78.Pa /boot/device.hints
79).
73.Sh IOCTL
74The driver supports most of the Voxware ioctls(), and most
75applications work unmodified (including popular mpeg players and linux
76binaries). A few
77differences exist (the most important one is the ability to use
78memory-mapped access to the audio buffers). As a consequence, some
79applications may need to be recompiled with a slightly modified
80audio module. See /usr/include/sys/soundcard.h for a complete

--- 117 unchanged lines hidden ---
80.Sh IOCTL
81The driver supports most of the Voxware ioctls(), and most
82applications work unmodified (including popular mpeg players and linux
83binaries). A few
84differences exist (the most important one is the ability to use
85memory-mapped access to the audio buffers). As a consequence, some
86applications may need to be recompiled with a slightly modified
87audio module. See /usr/include/sys/soundcard.h for a complete

--- 117 unchanged lines hidden ---