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