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