summaryrefslogtreecommitdiffstats
path: root/sys/dev/sound
Commit message (Collapse)AuthorAgeFilesLines
* Sound devices were being leaked by dsp_open() not actually releasing thegreen2003-02-111-1/+6
| | | | | channels it allocates if chn_reset() on them resulted in failure. ARROW'D!
* Include <isa/isavar.h> to fix building on alpha.nyan2003-02-081-0/+2
|
* - Clean up ISA DMA supports.nyan2003-02-0711-144/+177
| | | | | | | - Rename all sndbuf_isadma* functions to sndbuf_dma* and move them into sys/dev/sound/isa/sndbuf_dma.c. No response from: sound
* Fix comment typo.orion2003-02-061-18/+28
| | | | | | | | Sync with userland test framework which now deals better with pcm feeder kobj emulation. Reduce max rate from 96kHz to 48kHz as userland tests found a few bad points about 90kHz and we don't care about operating up there for now.
* Avoid zero padding when feeding read channels. chn_rdfeed has no wayorion2003-02-031-0/+4
| | | | | | | | | of knowing data size transformations of feeder chain and in some cases this means too much data is pulled through chain, eg converting input stream from 16bits to 8bits on 16bit only h/w. PR: kern/37831 Submitted by: Harti Brandt <brandt@fokus.fraunhofer.de>
* Remove mono encodings from vchan format and mixer description. Fixesorion2003-02-031-2/+0
| | | | | mono formats at 44.1kHz playing at double speed when vchans are enabled.
* Print ac97 name/id on normal boot.orion2003-02-031-6/+9
| | | | Fix typo reported in pr misc/47794.
* remove MIN now that it's a standard kernel definealfred2003-02-022-3/+0
|
* Consolidate MIN/MAX macros into one place (param.h).alfred2003-02-021-3/+0
| | | | Submitted by: Hiten Pandya <hiten@unixdaemons.com>
* o Constrain inputs to 25Hz granularity so interpolator can operateorion2003-01-301-64/+97
| | | | | | | between any pair of values in range 4-96kHz. Thanks to Ken Marks for discovering there were problems with the previous version. o Use a non-recursive gcd routine.
* Disable DRA to fix problems with recording.orion2003-01-261-14/+19
|
* Add ac97_patch.[ch] that provide space for ac97 codec specific patches.orion2003-01-254-74/+158
|
* Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0.alfred2003-01-2114-25/+25
| | | | Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
* Re-implemention of the interpolation code used for sample rateorion2003-01-201-53/+308
| | | | | | | | conversion. The new version has improved interpolation accuracy and maintains the timing relationship between the input and output signals exactly. Approved by: cg
* - GC a few more hand-rolled 'abs' macros.mdodd2003-01-151-1/+0
| | | | - GC a few hand-rolled min()/max() macros while I'm here.
* Don't call destroy_dev it a channel has children.cognet2003-01-141-1/+1
| | | | | | | | | | vchan creation doesn't lead to /dev entry creation if the new vchan is the first child of a channel, This fix a panic that happens when loading a sound driver module, creating vchans and unloading the driver. Approved by: cg MFC after: 3 days
* Add Realtek ALC650 id.orion2003-01-131-0/+1
| | | | | Submitted by: "Mikko S. Hyvarinen" <morphy@morphy.iki.fi> MFC after: 5 days
* Add nForce2 device id.orion2003-01-131-0/+4
| | | | | Submitted by: "Mikko S. Hyvarinen" <morphy@morphy.iki.fi> MFC after: 5 days
* - Add acpi module binding.mdodd2003-01-081-3/+12
| | | | | - Restore speed and format settings on resume for CS423x and CS423x-PCI devices.
* Fix the duplicate unlock of the pcm read channel in certain cases.green2003-01-051-1/+0
| | | | Reviewed by: cg
* Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup,schweikh2003-01-013-3/+3
| | | | especially in troff files.
* Do not return(foo()) in void function.semenu2002-12-188-22/+24
| | | | | Submitted by: marius@alchemy.franken.de MFC after: 3 days
* (hopefully) fix build breakage some people are seeingcg2002-11-2613-23/+23
| | | | Approved by: re
* various fixes to eliminate locking warningscg2002-11-259-57/+79
| | | | | Approved by: re Reviewed by: orion
* various fixes to eliminate locking warningscg2002-11-251-1/+1
| | | | | Approved by: re Reviewed by: orion
* if the list of supported formats is empty, fail the attach instead ofcg2002-11-251-4/+8
| | | | | | | panicing later. this is a band-aid pending further investigation. MFC After: 7 days Approved by: re
* Packed structures are defined differently in older gcc's, like the onejoe2002-11-061-4/+0
| | | | | currently in -stable. Put the exception into usb.h instead of having it hard coded in the sound code.
* Call pcm_chn_destroy() in pcm_killchan() so that channel mutexes are ↵cognet2002-11-041-1/+7
| | | | | | | destroyed and struct pcm_channel freed. Reviewed by: cg MFC after: 3 days
* Suppress the uninitialized variable warning on ia64 introduced bymarcel2002-10-171-0/+4
| | | | | the previous commit by initializing i and j. These initializations will normally be eliminated by the compiler.
* Fix support for the ALi M5451 (rev 0.2) chip.cognet2002-10-141-5/+47
| | | | | | Reviewed by: orion, mux Approved by: mux (mentor) MFC after: 1 week
* Fixed breakage from removing the used include of <sys/buf.h> in thebde2002-09-151-0/+3
| | | | | | | | previous commit: Include <sys/mutex.h> and its prerequisite <sys/lock.h> instead of depending on namespace pollution in <sys/buf.h>. Only do this in the __FreeBSD_version > 500000 case although the __FreeBSD_version < 500000 case has already rotted.
* FreeBSD -current doesn't need <sys/buf.h> or <sys/bio.h>.phk2002-09-141-3/+2
|
* Sigh. The fix to the suspend code wasn't complete, since the resumescottl2002-09-041-2/+2
| | | | | | | code was broken in the same way. Submitted by: co9@xs4all.nl MFC after: 3 days
* - Improve AC97 presence check and move it from fm801_attach() to fm801_probe();sobomax2002-09-031-14/+93
| | | | | | | | - add bus capabilities into the driver, so that it is possible for a radio driver to attach to it to use shared resources of fm801 chip. The radio driver itself will be committed later. MFC after: 1 week
* Whitespace-only: don't mix tabs and spaces for doing identation.sobomax2002-08-301-16/+16
|
* Fix a silly off my one error that caused crashes on resume in certainscottl2002-08-291-2/+2
| | | | | | | circumstances. The problem was only reported with -stable, but it's obviously wrong in -current also. MFC is forthcoming. Submitted by: doconnor@dsoft.com.au
* Marginally simplify dsp_open error handling by adding an early test toorion2002-08-281-68/+51
| | | | | | | determine liklihood of opening device in requested directions. Makes for simpler error handling and change should close kern/35004. PR: kern/35004.
* Add suspend and resume support.orion2002-08-251-8/+45
| | | | | Contributed by: Takanori Watanabe <takawata@FreeBSD.org> PR: kern/41809
* Fixed editing errors in rev.1.4 which manifested as printf format errorsbde2002-08-251-2/+2
| | | | at compile time and probably as panics at runtime.
* Be sure to unregister from sndstat on unregister. Gets rid of phantomnsayer2002-08-241-0/+1
| | | | sndstat output after removing uaudio.
* Make sure channel buffer start is associated with channel, otherwiseorion2002-08-231-3/+3
| | | | | getptr is broken. Noise reported by Thomas Draney <tmdraney@yahoo.com> who also tested the patch.
* s/AC97_MIX_PHONES/AC97_MIX_AUXOUT/ to match ac97r2.{2,3}.orion2002-08-233-6/+39
| | | | | | | | | | | | Attempt to determine what function of AUX_OUT is: "True line level out", "Headphone out", or "4-Channel out" and frig OSS mixer label accordingly. Addresses problem raised by Randy Bush on -multimedia of not being able to hear audio on ich2 m/b which was eventually found to be because the mixer monitor value was 0. On this h/w the label "monitor" should now be presented as the marginally more intuitive "ogain".
* Replace (ab)uses of "NULL" where "0" is really meant.archie2002-08-221-1/+1
|
* Back out last commit. Needs slightly more subtle handling.orion2002-08-201-33/+35
|
* Cater for ich4 quirks.orion2002-08-192-9/+29
| | | | | Reported by: Jacob Rhoden Tested by: Jacob Rhoden, mp
* Apply reference counting patch. Fixes problem of two applicationsorion2002-08-181-35/+33
| | | | | | | | | | opening the device, eg one read only and one write only, and the reference count being non-zero when both exit rendering device permanently busy. PR: kern/35004 Submitted by: Bill Wells MFC after: 3 days
* Fix VRA configuration.orion2002-08-181-3/+6
| | | | Reported and fixed by: Grzybowski Rafal <grzybek@inferno.mikrus.pw.edu.pl>
* Support for VIA VT8233 audio controller.orion2002-08-172-0/+800
|
* Remove support for the vt8233. Specs for chipset changed mid-revisionorion2002-08-172-200/+75
| | | | so this code was not working for the newer VIA chipsets.
* Add PCI ID for the ICH4 AC97 controller.mp2002-08-121-0/+4
|
OpenPOWER on IntegriCloud