aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/pcm
Commit message (Collapse)AuthorAgeFilesLines
* These files have been repo-copied to dev/sound/* (making way for pcmPeter Wemm1999-11-2128-11278/+0
| | | | | | | and midi to share the backend files). Notes: svn path=/head/; revision=53506
* Rename es1370.c to es137x.c and merge in the patches to supportRoger Hardiman1999-11-191-17/+390
| | | | | | | | | | | | ES1371 and ES1373 PCI Audio Sound Chips. The 1371 and 1373 can be found on newer CreativeLabs/Ensoniq sound cards such as the SoundBlaster PCI 16,64 and 128. Submitted by: Russell Cattelan <cattelan@thebarn.com> Obtained from: Parts obtained from linux, but rewritten by Russell Notes: svn path=/head/; revision=53413
* this is a full fix for writes not aligned to the sample size selected.Cameron Grant1999-11-153-22/+39
| | | | | | | should be a no-op in most cases. Notes: svn path=/head/; revision=53205
* set default ogain to 50 since some sb cards produce no sound at 0Cameron Grant1999-11-151-0/+1
| | | | Notes: svn path=/head/; revision=53203
* Fix a typo in the DRIVER_MODULE() declaration which caused a collisionPeter Wemm1999-11-151-1/+1
| | | | | | | with the real mss module. Notes: svn path=/head/; revision=53185
* Remove duplicate entry for ADS7180 - it's meant to be handled by thePeter Wemm1999-11-151-4/+0
| | | | | | | forked-off ad1816 driver. Notes: svn path=/head/; revision=53184
* Remove some printfs and make it slightly more paranoid about acceptingDoug Rabson1999-11-151-13/+12
| | | | | | | that an ess1888 is present. Notes: svn path=/head/; revision=53180
* * Ignore the wierd fakechan workarounds for simplex in dsp_ioctl().Doug Rabson1999-11-134-17/+218
| | | | | | | | | | | | | | | | | | | | | | | | Without this, ioctl commands for setting formats and speeds were essentially ignored for simplex devices until the application actually performed a read or write. * Make sure that both channels are set in the SB mixer code and provide a mixer table specifically for the ess18xx which supports the extended accuracy available on this part. * Fix a stupid bug in ess_format() which ignored the passed-in format and changed the hardware based on the value which was set last time. This meant that the hardware setting was often not set correctly at all. * Add a custom identify driver for the ESS1888 which automagically detects and adds the device in a pseudo-PnP way. This driver also emits the magic sequence which enables the sound hardware after a hard reset, allowing it to work correctly for the sound hardware of a PWS 433au (and probably all other PWS class alpha machines). With these changes, I was able to play back simple sounds on my 433au. I have not tested recording or any other formats other than 8bit ulaw and 16bit stereo. Notes: svn path=/head/; revision=53126
* Conserve stereo mode in ioctl SNDCTL_DSP_SETFMT.Seigo Tanimura1999-11-071-3/+3
| | | | | | | | PR: 14372 Submitted by: Mattias Pantzare <pantzer@ludd.luth.se>, Ville-Pertti Keinonen <will@iki.fi> Notes: svn path=/head/; revision=52950
* The unit of sndstat is fixed to zero.Seigo Tanimura1999-11-061-1/+1
| | | | Notes: svn path=/head/; revision=52913
* Fix for multiple pcm devices.Seigo Tanimura1999-11-031-10/+10
| | | | Notes: svn path=/head/; revision=52823
* Call make_dev() to shut up the warning.Seigo Tanimura1999-11-011-1/+12
| | | | | | | Pointed out by: Donn Miller <dmmiller@cvzoom.net> Notes: svn path=/head/; revision=52755
* The total uiomoved size is accumulated in c, not tmp.Seigo Tanimura1999-10-311-2/+2
| | | | Notes: svn path=/head/; revision=52713
* The CTL0044 is more properly known as a "Creative SB AWE64 Gold".David E. O'Brien1999-10-161-0/+3
| | | | Notes: svn path=/head/; revision=52318
* * Add struct resource_list* argument to resource_list_alloc andDoug Rabson1999-10-122-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | resource_list_release. This removes the dependancy on the layout of ivars. * Move set_resource, get_resource and delete_resource from isa_if.m to bus_if.m. * Simplify driver code by providing wrappers to those methods: bus_set_resource(dev, type, rid, start, count); bus_get_resource(dev, type, rid, startp, countp); bus_get_resource_start(dev, type, rid); bus_get_resource_count(dev, type, rid); bus_delete_resource(dev, type, rid); * Delete isa_get_rsrc and use bus_get_resource_start instead. * Fix a stupid typo in isa_alloc_resource reported by Takahashi Yoshihiro <nyan@FreeBSD.org>. * Print a diagnostic message if we can't assign resources to a PnP device. * Change device_print_prettyname() so that it doesn't print "(no driver assigned)-1" for anonymous devices. Notes: svn path=/head/; revision=52174
* Bring support for opti931 in from the old driver.Doug Rabson1999-10-121-5/+32
| | | | Notes: svn path=/head/; revision=52169
* Make interrupts shareable with RF_SHAREABLE. This is untested, butWarner Losh1999-10-091-1/+1
| | | | | | | it compiles and should just work. Notes: svn path=/head/; revision=52049
* Allow interrupt sharing by allocating the interrupt RF_SHAREABLE.Warner Losh1999-10-092-2/+2
| | | | | | | | This allows newpcm to grok my es1370 based card, which shared interrupts with the ethernet card. Notes: svn path=/head/; revision=52046
* Detect CTL0044 & CTL0045 as "Creative AWE64 PnP" rather than "SB16 PnP".David E. O'Brien1999-10-031-1/+4
| | | | | | | Reviewed by: dfr Notes: svn path=/head/; revision=51911
* Add ID for ESS ES1869.Doug Rabson1999-09-291-0/+4
| | | | Notes: svn path=/head/; revision=51788
* * add a non-reset device- will not reset the channel on open. youCameron Grant1999-09-287-26/+53
| | | | | | | | | | | will have to mknod yourself for now. * don't eat the first write() * partial rvplayer fix- don't panic on unaligned writes unless our feeder chain requires them for downconversion. a fuller fix is on the way. Notes: svn path=/head/; revision=51769
* add a missing blank lineCameron Grant1999-09-281-1/+2
| | | | Notes: svn path=/head/; revision=51768
* seperate the ad1816 driver from the mss driver since it shares no codeCameron Grant1999-09-284-411/+707
| | | | Notes: svn path=/head/; revision=51766
* Add another ID for the AWE64.Doug Rabson1999-09-281-0/+1
| | | | Notes: svn path=/head/; revision=51755
* Remove five now unused fields from struct cdevsw. They should neverPoul-Henning Kamp1999-09-251-5/+0
| | | | | | | | | | | have been there in the first place. A GENERIC kernel shrinks almost 1k. Add a slightly different safetybelt under nostop for tty drivers. Add some missing FreeBSD tags Notes: svn path=/head/; revision=51658
* Fix the "dsp sync" debugging printf that was unconditional. Fix a fewPeter Wemm1999-09-191-7/+7
| | | | | | | formatting nits/glitches/whatever. Notes: svn path=/head/; revision=51407
* Make sure that opti931's and guspnp's use the right offset from their ports.Doug Rabson1999-09-101-0/+2
| | | | Notes: svn path=/head/; revision=51120
* fix a bug with cat >/dev/{dsp,dspW,audio} hangingCameron Grant1999-09-081-1/+2
| | | | Notes: svn path=/head/; revision=51095
* Change isa_get/set_flags() to device_get/set_flags().Doug Rabson1999-09-072-9/+10
| | | | Notes: svn path=/head/; revision=51052
* $Id$ -> $FreeBSD$Peter Wemm1999-09-051-1/+1
| | | | Notes: svn path=/head/; revision=50959
* incorporate better ess supportCameron Grant1999-09-041-70/+277
| | | | | | | | Obtained From: KUROSAWA Takahiro <fwkg7679@mb.infoweb.ne.jp> Tested By: peter Notes: svn path=/head/; revision=50925
* handle uiomove better in feed_rootCameron Grant1999-09-041-6/+9
| | | | Notes: svn path=/head/; revision=50923
* bugfix: deallocate channels properly if no read/write ops between open/closeCameron Grant1999-09-041-1/+2
| | | | Notes: svn path=/head/; revision=50922
* This represents essentially a complete rewrite of the ISA PnP code. TheDoug Rabson1999-09-011-1/+3
| | | | | | | | | | | new system is integrated with the ISA bus code more cleanly and allows the future addition of more enumerators such as PnPBIOS and ACPI. This commit also enables the new pcm driver since it is somewhat tied to the new PnP code. Notes: svn path=/head/; revision=50769
* $Id$ -> $FreeBSD$Peter Wemm1999-09-0124-24/+24
| | | | Notes: svn path=/head/; revision=50733
* say hello to newpcm. it is not yet enabled, requiring new pnp code from dfrCameron Grant1999-09-0121-0/+6241
| | | | | | | | to compile successfully. further details will be provided in the commit enabling newpcm. Notes: svn path=/head/; revision=50724
* mss and sb drivers updated for newpcmCameron Grant1999-09-014-3355/+2807
| | | | | | | Reviewed by: peter, dfr Notes: svn path=/head/; revision=50723
* Add support for ASound Gold card using the ALS120Roger Hardiman1999-05-271-4/+8
| | | | | | | | | | chipset (a vibra 16x clone) Identified automatically by its PnP ID Approved by: Luigi Notes: svn path=/head/; revision=47536
* Fix dev_t/minor problemsPeter Wemm1999-05-122-14/+21
| | | | Notes: svn path=/head/; revision=47074
* Quiet a warning, put a #if 0 around some (I believe) unused static structs.Peter Wemm1999-05-091-0/+2
| | | | Notes: svn path=/head/; revision=46797
* Use id_ointr for setting the pnp interrupt handler, it uses the oldstylePeter Wemm1999-05-061-4/+4
| | | | | | | int unit argument still. Notes: svn path=/head/; revision=46605
* Operator precedence bugPeter Wemm1999-05-021-1/+1
| | | | | | | | PR: 11410 Submitted by: Christopher Peterson <cpeterso@cs.washington.edu> Notes: svn path=/head/; revision=46339
* Fix YMF719 detection (report by jose@we.lc.ehu.es).Luigi Rizzo1999-01-041-4/+9
| | | | | | | | Fix compile problems without "controller pnp0" (fix by German Tischler) Notes: svn path=/head/; revision=42292
* Bring in ad1816 patches from German Tischler.Luigi Rizzo1999-01-042-5/+572
| | | | | | | | Fix 'device not configured' problem that people were experiencing when only PCI devices are present. Notes: svn path=/head/; revision=42284
* Extend the callback mechanism and add hooks to support PCI cards.Luigi Rizzo1998-12-312-27/+11
| | | | | | | Remove a few unused variables. Notes: svn path=/head/; revision=42192
* Support ESS1868 (and probably ESS688 & ESS1668).Brian Somers1998-12-102-55/+108
| | | | | | | Submitted by: Max Khon <fjoe@husky.iclub.nsu.ru> Notes: svn path=/head/; revision=41653
* Examine all occurrences of sprintf(), strcat(), and str[n]cpy()Archie Cobbs1998-12-042-5/+6
| | | | | | | | | | | | | | | | | for possible buffer overflow problems. Replaced most sprintf()'s with snprintf(); for others cases, added terminating NUL bytes where appropriate, replaced constants like "16" with sizeof(), etc. These changes include several bug fixes, but most changes are for maintainability's sake. Any instance where it wasn't "immediately obvious" that a buffer overflow could not occur was made safer. Reviewed by: Bruce Evans <bde@zeta.org.au> Reviewed by: Matthew Dillon <dillon@apollo.backplane.com> Reviewed by: Mike Spengler <mks@networkcs.com> Notes: svn path=/head/; revision=41514
* Add a missing newlineLuigi Rizzo1998-11-141-1/+1
| | | | | | | Submitted by: Roger Hardiman Notes: svn path=/head/; revision=41149
* Add entry for AOpen AW37Luigi Rizzo1998-11-101-0/+6
| | | | Notes: svn path=/head/; revision=41060
* Remove an error message from sb interrupt driver -- itLuigi Rizzo1998-11-041-8/+0
| | | | | | | does not apply to all situations. Notes: svn path=/head/; revision=40898