xref: /freebsd/share/man/man4/pcm.4 (revision 814bd1ed438f7dfc5bedcb1f3e772a46fe7026bb)
1.\"
2.\" Copyright (c) 2009-2011 Joel Dahl <joel@FreeBSD.org>
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.\"    notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright
11.\"    notice, this list of conditions and the following disclaimer in the
12.\"    documentation and/or other materials provided with the distribution.
13.\"
14.\" THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
15.\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
16.\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
17.\" ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
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$
27.\"
28.Dd December 26, 2020
29.Dt SOUND 4
30.Os
31.Sh NAME
32.Nm sound ,
33.Nm pcm ,
34.Nm snd
35.Nd
36.Fx
37PCM audio device infrastructure
38.Sh SYNOPSIS
39To compile this driver into the kernel, place the following line in your
40kernel configuration file:
41.Bd -ragged -offset indent
42.Cd "device sound"
43.Ed
44.Sh DESCRIPTION
45The
46.Nm
47driver is the main component of the
48.Fx
49sound system.
50It works in conjunction with a bridge device driver on supported devices
51and provides PCM audio record and playback once it attaches.
52Each bridge device driver supports a specific set of audio chipsets and
53needs to be enabled together with the
54.Nm
55driver.
56PCI and ISA PnP audio devices identify themselves so users are usually not
57required to add anything to
58.Pa /boot/device.hints .
59.Pp
60Some of the main features of the
61.Nm
62driver are: multichannel audio, per-application
63volume control, dynamic mixing through virtual sound channels, true full
64duplex operation, bit perfect audio, rate conversion and low latency
65modes.
66.Pp
67The
68.Nm
69driver is enabled by default, along with several bridge device drivers.
70Those not enabled by default can be loaded during runtime with
71.Xr kldload 8
72or during boot via
73.Xr loader.conf 5 .
74The following bridge device drivers are available:
75.Pp
76.Bl -bullet -compact
77.It
78.Xr snd_ai2s 4 (enabled by default on powerpc)
79.It
80.Xr snd_als4000 4
81.It
82.Xr snd_atiixp 4
83.It
84.Xr snd_cmi 4 (enabled by default on amd64, i386)
85.It
86.Xr snd_cs4281 4
87.It
88.Xr snd_csa 4 (enabled by default on amd64, i386)
89.It
90.Xr snd_davbus 4 (enabled by default on powerpc)
91.It
92.Xr snd_emu10k1 4
93.It
94.Xr snd_emu10kx 4 (enabled by default on amd64, i386)
95.It
96.Xr snd_envy24 4
97.It
98.Xr snd_envy24ht 4
99.It
100.Xr snd_es137x 4 (enabled by default on amd64, i386)
101.It
102.Xr snd_fm801 4
103.It
104.Xr snd_hda 4 (enabled by default on amd64, i386)
105.It
106.Xr snd_hdspe 4
107.It
108.Xr snd_ich 4 (enabled by default on amd64, i386)
109.It
110.Xr snd_maestro3 4
111.It
112.Xr snd_neomagic 4
113.It
114.Xr snd_solo 4
115.It
116.Xr snd_spicds 4
117.It
118.Xr snd_uaudio 4 (enabled by default on amd64, i386, powerpc)
119.It
120.Xr snd_via8233 4 (enabled by default on amd64, i386)
121.It
122.Xr snd_via82c686 4
123.It
124.Xr snd_vibes 4
125.El
126.Pp
127Refer to the manual page for each bridge device driver for driver specific
128settings and information.
129.Ss Legacy Hardware
130For old legacy
131.Tn ISA
132cards, the driver looks for
133.Tn MSS
134cards at addresses
135.Dv 0x530
136and
137.Dv 0x604 .
138These values can be overridden in
139.Pa /boot/device.hints .
140Non-PnP sound cards require the following lines in
141.Xr device.hints 5 :
142.Bd -literal -offset indent
143hint.pcm.0.at="isa"
144hint.pcm.0.irq="5"
145hint.pcm.0.drq="1"
146hint.pcm.0.flags="0x0"
147.Ed
148.Pp
149Apart from the usual parameters, the flags field is used to specify
150the secondary
151.Tn DMA
152channel (generally used for capture in full duplex cards).
153Flags are set to 0 for cards not using a secondary
154.Tn DMA
155channel, or to 0x10 + C to specify channel C.
156.Ss Boot Variables
157In general, the module
158.Pa snd_foo
159corresponds to
160.Cd "device snd_foo"
161and can be
162loaded by the boot
163.Xr loader 8
164via
165.Xr loader.conf 5
166or from the command line using the
167.Xr kldload 8
168utility.
169Options which can be specified in
170.Pa /boot/loader.conf
171include:
172.Bl -tag -width ".Va snd_driver_load" -offset indent
173.It Va snd_driver_load
174.Pq Dq Li NO
175If set to
176.Dq Li YES ,
177this option loads all available drivers.
178.It Va snd_hda_load
179.Pq Dq Li NO
180If set to
181.Dq Li YES ,
182only the Intel High Definition Audio bridge device driver and dependent
183modules will be loaded.
184.It Va snd_foo_load
185.Pq Dq Li NO
186If set to
187.Dq Li YES ,
188load driver for card/chipset foo.
189.El
190.Pp
191To define default values for the different mixer channels,
192set the channel to the preferred value using hints, e.g.:
193.Va hint.pcm.0.line Ns = Ns Qq Li 0 .
194This will mute the input channel per default.
195.Ss Multichannel Audio
196Multichannel audio, popularly referred to as
197.Dq surround sound
198is supported and enabled by default.
199The FreeBSD multichannel matrix processor supports up to 18 interleaved
200channels, but the limit is currently set to 8 channels (as commonly used
201for 7.1 surround sound).
202The internal matrix mapping can handle reduction, expansion or
203re-routing of channels.
204This provides a base interface for related multichannel
205.Fn ioctl
206support.
207Multichannel audio works both with and without
208.Tn VCHANs .
209.Pp
210Most bridge device drivers are still missing multichannel matrixing
211support, but in most cases this should be trivial to implement.
212Use the
213.Va dev.pcm.%d.[play|rec].vchanformat
214.Xr sysctl 8
215to adjust the number of channels used.
216The current multichannel interleaved structure and arrangement was
217implemented by inspecting various popular UNIX applications.
218There were no single standard, so much care has been taken to try
219to satisfy each possible scenario, despite the fact that each
220application has its own conflicting standard.
221.Ss EQ
222The Parametric Software Equalizer (EQ) enables the use of
223.Dq tone
224controls (bass and treble).
225Commonly used for ear-candy or frequency compensation due to the vast
226difference in hardware quality.
227EQ is disabled by default, but can be enabled with the
228.Va hint.pcm.%d.eq
229tunable.
230.Ss VCHANs
231Each device can optionally support more playback and recording channels
232than physical hardware provides by using
233.Dq virtual channels
234or
235.Tn VCHANs .
236.Tn VCHAN
237options can be configured via the
238.Xr sysctl 8
239interface but can only be manipulated while the device is inactive.
240.Ss VPC
241FreeBSD supports independent and individual volume controls for each active
242application, without touching the master
243.Nm
244volume.
245This is sometimes referred to as Volume Per Channel (VPC).
246The
247.Tn VPC
248feature is enabled by default.
249.Ss Loader Tunables
250The following loader tunables are used to set driver configuration at the
251.Xr loader 8
252prompt before booting the kernel, or they can be stored in
253.Pa /boot/loader.conf
254in order to automatically set them before booting the kernel.
255It is also possible to use
256.Xr kenv 1
257to change these tunables before loading the
258.Nm
259driver.
260The following tunables can not be changed during runtime using
261.Xr sysctl 8 .
262.Bl -tag -width indent
263.It Va hint.pcm.%d.eq
264Set to 1 or 0 to explicitly enable (1) or disable (0) the equalizer.
265Requires a driver reload if changed.
266Enabling this will make bass and treble controls appear in mixer applications.
267This tunable is undefined by default.
268Equalizing is disabled by default.
269.It Va hint.pcm.%d.vpc
270Set to 1 or 0 to explicitly enable (1) or disable (0) the
271.Tn VPC
272feature.
273This tunable is undefined by default.
274.Tn VPC
275is however enabled by default.
276.El
277.Ss Runtime Configuration
278There are a number of
279.Xr sysctl 8
280variables available which can be modified during runtime.
281These values can also be stored in
282.Pa /etc/sysctl.conf
283in order to automatically set them during the boot process.
284.Va hw.snd.*
285are global settings and
286.Va dev.pcm.*
287are device specific.
288.Bl -tag -width indent
289.It Va hw.snd.compat_linux_mmap
290Linux
291.Xr mmap 2
292compatibility.
293The following values are supported (default is 0):
294.Bl -tag -width 2n
295.It -1
296Force disabling/denying PROT_EXEC
297.Xr mmap 2
298requests.
299.It 0
300Auto detect proc/ABI type, allow
301.Xr mmap 2
302for Linux applications, and deny for everything else.
303.It 1
304Always allow PROT_EXEC page mappings.
305.El
306.It Va hw.snd.default_auto
307Automatically assign the default sound unit.
308The following values are supported (default is 1):
309.Bl -tag -width 2n
310.It 0
311Do not assign the default sound unit automatically.
312.It 1
313Use the best available sound device based on playing and recording
314capabilities of the device.
315.It 2
316Use the most recently attached device.
317.El
318.It Va hw.snd.default_unit
319Default sound card for systems with multiple sound cards.
320When using
321.Xr devfs 5 ,
322the default device for
323.Pa /dev/dsp .
324Equivalent to a symlink from
325.Pa /dev/dsp
326to
327.Pa /dev/dsp Ns Va ${hw.snd.default_unit} .
328.It Va hw.snd.feeder_eq_exact_rate
329Only certain rates are allowed for precise processing.
330The default behavior is however to allow sloppy processing for all rates,
331even the unsupported ones.
332Enable to toggle this requirement and only allow processing for supported
333rates.
334.It Va hw.snd.feeder_rate_max
335Maximum allowable sample rate.
336.It Va hw.snd.feeder_rate_min
337Minimum allowable sample rate.
338.It Va hw.snd.feeder_rate_polyphase_max
339Adjust to set the maximum number of allowed polyphase entries during the
340process of building resampling filters.
341Disabling polyphase resampling has the benefit of reducing memory usage, at
342the expense of slower and lower quality conversion.
343Only applicable when the SINC interpolator is used.
344Default value is 183040.
345Set to 0 to disable polyphase resampling.
346.It Va hw.snd.feeder_rate_quality
347Sample rate converter quality.
348Default value is 1, linear interpolation.
349Available options include:
350.Bl -tag -width 2n
351.It 0
352Zero Order Hold, ZOH.
353Very fast, but with poor quality.
354.It 1
355Linear interpolation.
356Fast, quality is subject to personal preference.
357Technically the quality is poor however, due to the lack of anti-aliasing
358filtering.
359.It 2
360Bandlimited SINC interpolator.
361Implements polyphase banking to boost the conversion speed, at the cost of
362memory usage, with multiple high quality polynomial interpolators to improve
363the conversion accuracy.
364100% fixed point, 64bit accumulator with 32bit coefficients and high precision
365sample buffering.
366Quality values are 100dB stopband, 8 taps and 85% bandwidth.
367.It 3
368Continuation of the bandlimited SINC interpolator, with 100dB stopband, 36
369taps and 90% bandwidth as quality values.
370.It 4
371Continuation of the bandlimited SINC interprolator, with 100dB stopband, 164
372taps and 97% bandwidth as quality values.
373.El
374.It Va hw.snd.feeder_rate_round
375Sample rate rounding threshold, to avoid large prime division at the
376cost of accuracy.
377All requested sample rates will be rounded to the nearest threshold value.
378Possible values range between 0 (disabled) and 500.
379Default is 25.
380.It Va hw.snd.latency
381Configure the buffering latency.
382Only affects applications that do not explicitly request
383blocksize / fragments.
384This tunable provides finer granularity than the
385.Va hw.snd.latency_profile
386tunable.
387Possible values range between 0 (lowest latency) and 10 (highest latency).
388.It Va hw.snd.latency_profile
389Define sets of buffering latency conversion tables for the
390.Va hw.snd.latency
391tunable.
392A value of 0 will use a low and aggressive latency profile which can result
393in possible underruns if the application cannot keep up with a rapid irq
394rate, especially during high workload.
395The default value is 1, which is considered a moderate/safe latency profile.
396.It Va hw.snd.maxautovchans
397Global
398.Tn VCHAN
399setting that only affects devices with at least one playback or recording channel available.
400The sound system will dynamically create up to this many
401.Tn VCHANs .
402Set to
403.Dq 0
404if no
405.Tn VCHANs
406are desired.
407Maximum value is 256.
408.It Va hw.snd.report_soft_formats
409Controls the internal format conversion if it is
410available transparently to the application software.
411When disabled or not available, the application will
412only be able to select formats the device natively supports.
413.It Va hw.snd.report_soft_matrix
414Enable seamless channel matrixing even if the hardware does not support it.
415Makes it possible to play multichannel streams even with a simple stereo
416sound card.
417.It Va hw.snd.verbose
418Level of verbosity for the
419.Pa /dev/sndstat
420device.
421Higher values include more output and the highest level,
422four, should be used when reporting problems.
423Other options include:
424.Bl -tag -width 2n
425.It 0
426Installed devices and their allocated bus resources.
427.It 1
428The number of playback, record, virtual channels, and
429flags per device.
430.It 2
431Channel information per device including the channel's
432current format, speed, and pseudo device statistics such as
433buffer overruns and buffer underruns.
434.It 3
435File names and versions of the currently loaded sound modules.
436.It 4
437Various messages intended for debugging.
438.El
439.It Va hw.snd.vpc_0db
440Default value for
441.Nm
442volume.
443Increase to give more room for attenuation control.
444Decrease for more amplification, with the possible cost of sound clipping.
445.It Va hw.snd.vpc_autoreset
446When a channel is closed the channel volume will be reset to 0db.
447This means that any changes to the volume will be lost.
448Enabling this will preserve the volume, at the cost of possible confusion
449when applications tries to re-open the same device.
450.It Va hw.snd.vpc_mixer_bypass
451The recommended way to use the
452.Tn VPC
453feature is to teach applications to use
454the correct
455.Fn ioctl :
456.Dv SNDCTL_DSP_GETPLAYVOL, SNDCTL_DSP_SETPLAYVOL,
457.Dv SNDCTL_DSP_SETRECVOL, SNDCTL_DSP_SETRECVOL.
458This is however not always possible.
459Enable this to allow applications to use their own existing mixer logic
460to control their own channel volume.
461.It Va hw.snd.vpc_reset
462Enable to restore all channel volumes back to the default value of 0db.
463.It Va dev.pcm.%d.bitperfect
464Enable or disable bitperfect mode.
465When enabled, channels will skip all dsp processing, such as channel
466matrixing, rate converting and equalizing.
467The pure
468.Nm
469stream will be fed directly to the hardware.
470If
471.Tn VCHANs
472are enabled, the bitperfect mode will use the
473.Tn VCHAN
474format/rate as the definitive format/rate target.
475The recommended way to use bitperfect mode is to disable
476.Tn VCHANs
477and enable this sysctl.
478Default is disabled.
479.It Va dev.pcm.%d.[play|rec].vchans
480The current number of
481.Tn VCHANs
482allocated per device.
483This can be set to preallocate a certain number of
484.Tn VCHANs .
485Setting this value to
486.Dq 0
487will disable
488.Tn VCHANs
489for this device.
490.It Va dev.pcm.%d.[play|rec].vchanformat
491Format for
492.Tn VCHAN
493mixing.
494All playback paths will be converted to this format before the mixing
495process begins.
496By default only 2 channels are enabled.
497Available options include:
498.Bl -tag -width 2n
499.It s16le:1.0
500Mono.
501.It s16le:2.0
502Stereo, 2 channels (left, right).
503.It s16le:2.1
5043 channels (left, right, LFE).
505.It s16le:3.0
5063 channels (left, right, rear center).
507.It s16le:4.0
508Quadraphonic, 4 channels (front/rear left and right).
509.It s16le:4.1
5105 channels (4.0 + LFE).
511.It s16le:5.0
5125 channels (4.0 + center).
513.It s16le:5.1
5146 channels (4.0 + center + LFE).
515.It s16le:6.0
5166 channels (4.0 + front/rear center).
517.It s16le:6.1
5187 channels (6.0 + LFE).
519.It s16le:7.1
5208 channels (4.0 + center + LFE + left and right side).
521.El
522.It Va dev.pcm.%d.[play|rec].vchanmode
523.Tn VCHAN
524format/rate selection.
525Available options include:
526.Bl -tag -width 2n
527.It fixed
528Channel mixing is done using fixed format/rate.
529Advanced operations such as digital passthrough will not work.
530Can be considered as a
531.Dq legacy
532mode.
533This is the default mode for hardware channels which lack support for digital
534formats.
535.It passthrough
536Channel mixing is done using fixed format/rate, but advanced operations such
537as digital passthrough also work.
538All channels will produce sound as usual until a digital format playback is
539requested.
540When this happens all other channels will be muted and the latest incoming
541digital format will be allowed to pass through undisturbed.
542Multiple concurrent digital streams are supported, but the latest stream will
543take precedence and mute all other streams.
544.It adaptive
545Works like the
546.Dq passthrough
547mode, but is a bit smarter, especially for
548multiple
549.Nm
550channels with different format/rate.
551When a new channel is about to start, the entire list of virtual channels will
552be scanned, and the channel with the best format/rate (usually the
553highest/biggest) will be selected.
554This ensures that mixing quality depends on the best channel.
555The downside is that the hardware DMA mode needs to be restarted, which may
556cause annoying pops or clicks.
557.El
558.It Va dev.pcm.%d.[play|rec].vchanrate
559Sample rate speed for
560.Tn VCHAN
561mixing.
562All playback paths will be converted to this sample rate before the mixing
563process begins.
564.It Va dev.pcm.%d.polling
565Experimental polling mode support where the driver operates by querying the
566device state on each tick using a
567.Xr callout 9
568mechanism.
569Disabled by default and currently only available for a few device drivers.
570.El
571.Ss Recording Channels
572On devices that have more than one recording source (ie: mic and line),
573there is a corresponding
574.Pa /dev/dsp%d.r%d
575device.
576The
577.Xr mixer 8
578utility can be used to start and stop recording from an specific device.
579.Ss Statistics
580Channel statistics are only kept while the device is open.
581So with situations involving overruns and underruns, consider the output
582while the errant application is open and running.
583.Ss IOCTL Support
584The driver supports most of the
585.Tn OSS
586.Fn ioctl
587functions, and most applications work unmodified.
588A few differences exist, while memory mapped playback is
589supported natively and in
590.Tn Linux
591emulation, memory mapped recording is
592not due to
593.Tn VM
594system design.
595As a consequence, some applications may need to be recompiled
596with a slightly modified audio module.
597See
598.In sys/soundcard.h
599for a complete list of the supported
600.Fn ioctl
601functions.
602.Sh FILES
603The
604.Nm
605drivers may create the following
606device nodes:
607.Pp
608.Bl -tag -width ".Pa /dev/audio%d.%d" -compact
609.It Pa /dev/audio%d.%d
610Sparc-compatible audio device.
611.It Pa /dev/dsp%d.%d
612Digitized voice device.
613.It Pa /dev/dspW%d.%d
614Like
615.Pa /dev/dsp ,
616but 16 bits per sample.
617.It Pa /dev/dsp%d.p%d
618Playback channel.
619.It Pa /dev/dsp%d.r%d
620Record channel.
621.It Pa /dev/dsp%d.vp%d
622Virtual playback channel.
623.It Pa /dev/dsp%d.vr%d
624Virtual recording channel.
625.It Pa /dev/sndstat
626Current
627.Nm
628status, including all channels and drivers.
629.El
630.Pp
631The first number in the device node
632represents the unit number of the
633.Nm
634device.
635All
636.Nm
637devices are listed
638in
639.Pa /dev/sndstat .
640Additional messages are sometimes recorded when the
641device is probed and attached, these messages can be viewed with the
642.Xr dmesg 8
643utility.
644.Pp
645The above device nodes are only created on demand through the dynamic
646.Xr devfs 5
647clone handler.
648Users are strongly discouraged to access them directly.
649For specific sound card access, please instead use
650.Pa /dev/dsp
651or
652.Pa /dev/dsp%d .
653.Sh EXAMPLES
654Use the sound metadriver to load all
655.Nm
656bridge device drivers at once
657(for example if it is unclear which the correct driver to use is):
658.Pp
659.Dl kldload snd_driver
660.Pp
661Load a specific bridge device driver, in this case the Intel
662High Definition Audio driver:
663.Pp
664.Dl kldload snd_hda
665.Pp
666Check the status of all detected
667.Nm
668devices:
669.Pp
670.Dl cat /dev/sndstat
671.Pp
672Change the default sound device, in this case to the second device.
673This is handy if there are multiple
674.Nm
675devices available:
676.Pp
677.Dl sysctl hw.snd.default_unit=1
678.Sh DIAGNOSTICS
679.Bl -diag
680.It pcm%d:play:%d:dsp%d.p%d: play interrupt timeout, channel dead
681The hardware does not generate interrupts to serve incoming (play)
682or outgoing (record) data.
683.It unsupported subdevice XX
684A device node is not created properly.
685.El
686.Sh SEE ALSO
687.Xr snd_ai2s 4 ,
688.Xr snd_als4000 4 ,
689.Xr snd_atiixp 4 ,
690.Xr snd_cmi 4 ,
691.Xr snd_cs4281 4 ,
692.Xr snd_csa 4 ,
693.Xr snd_davbus 4 ,
694.Xr snd_emu10k1 4 ,
695.Xr snd_emu10kx 4 ,
696.Xr snd_envy24 4 ,
697.Xr snd_envy24ht 4 ,
698.Xr snd_es137x 4 ,
699.Xr snd_fm801 4 ,
700.Xr snd_hda 4 ,
701.Xr snd_hdspe 4 ,
702.Xr snd_ich 4 ,
703.Xr snd_maestro3 4 ,
704.Xr snd_neomagic 4 ,
705.Xr snd_solo 4 ,
706.Xr snd_spicds 4 ,
707.Xr snd_t4dwave 4 ,
708.Xr snd_uaudio 4 ,
709.Xr snd_via8233 4 ,
710.Xr snd_via82c686 4 ,
711.Xr snd_vibes 4 ,
712.Xr devfs 5 ,
713.Xr device.hints 5 ,
714.Xr loader.conf 5 ,
715.Xr dmesg 8 ,
716.Xr kldload 8 ,
717.Xr mixer 8 ,
718.Xr sysctl 8
719.Rs
720.%T "Cookbook formulae for audio EQ biquad filter coefficients (Audio-EQ-Cookbook.txt), by Robert Bristow-Johnson"
721.%U "https://www.musicdsp.org/en/latest/Filters/197-rbj-audio-eq-cookbook.html"
722.Re
723.Rs
724.%T "Julius O'Smith's Digital Audio Resampling"
725.%U "http://ccrma.stanford.edu/~jos/resample/"
726.Re
727.Rs
728.%T "Polynomial Interpolators for High-Quality Resampling of Oversampled Audio, by Olli Niemitalo"
729.%U "http://yehar.com/blog/wp-content/uploads/2009/08/deip.pdf"
730.Re
731.Rs
732.%T "The OSS API"
733.%U "http://www.opensound.com/pguide/oss.pdf"
734.Re
735.Sh HISTORY
736The
737.Nm
738device driver first appeared in
739.Fx 2.2.6
740as
741.Nm pcm ,
742written by
743.An Luigi Rizzo .
744It was later
745rewritten in
746.Fx 4.0
747by
748.An Cameron Grant .
749The API evolved from the VOXWARE
750standard which later became OSS standard.
751.Sh AUTHORS
752.An -nosplit
753.An Luigi Rizzo Aq Mt luigi@iet.unipi.it
754initially wrote the
755.Nm pcm
756device driver and this manual page.
757.An Cameron Grant Aq Mt gandalf@vilnya.demon.co.uk
758later revised the device driver for
759.Fx 4.0 .
760.An Seigo Tanimura Aq Mt tanimura@r.dl.itc.u-tokyo.ac.jp
761revised this manual page.
762It was then rewritten for
763.Fx 5.2 .
764.Sh BUGS
765Some features of your sound card (e.g., global volume control) might not
766be supported on all devices.
767