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