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