summaryrefslogtreecommitdiffstats
path: root/sys/dev/pci/envyvar.h (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Add a "set_rate" method to the envy codec API.ratchov2019-04-301-1/+2
| | | | | | | This allows to hook card-specific codec initialization code called when the sample rate is changed. As codecs follow host clock, this method will be typically used to switch between simple-speed to double-speed modes when necessary.
* Add the number of midi ports to the card description, and use it toratchov2015-08-301-1/+2
| | | | prevent cards with no midi connectors from attaching midi(4) devices.
* Disable interrupts while the midi uart is not in use. Avoids generatingratchov2015-08-281-1/+2
| | | | | unused interrupts when a chatty peripheral is connected but is not used.
* Use DMA pointer determine the number of times the audio(4) layer hasratchov2015-07-291-1/+4
| | | | | | | | to advance in time. This is needed to properly recover, when interrupts are blocked for too long. Fixes permanent distortion on MP systems. ok deraadt
* add support for midi(4) ports to envy(4)ratchov2010-10-041-1/+8
|
* Don't stop DMA in envy_halt_intput() and/or envy_halt_output().ratchov2010-03-071-1/+16
| | | | | | Instead wait for the next interrupt and stop DMA in the interrupt handler. This prevents the chip from entering a unstable state in which DMA doesn't start cleanly.
* Remove trailing spaces,ratchov2010-02-251-3/+3
| | | | from Alexandr Shadchin <alexandr.shadchin at gmail.com>, thanks!
* Add necessary bits to support AC97 codecs in envy and add supportratchov2010-02-201-1/+5
| | | | | | | | for the VIA Tremor 5.1 card. From Alexandr Shadchin <alexandr.shadchin at gmail.com>, thanks! help from oga@
* add support for the ak4358 DAC used in ESI Julia cards. There areratchov2009-05-081-6/+2
| | | | | | two mono line0 and line1 knobs rather than a single stereo knob because that's how the routing control (not exposed for ht chips yet) works.
* rename few functions and macros, fix styleratchov2009-05-081-2/+2
|
* use the number of channels rather than the number of stereo dacs/adcs,ratchov2009-05-081-4/+4
| | | | because there will support for non-stereo dacs/adcs soon.
* put codec-specific mixer bits in their own routines andratchov2009-05-041-5/+13
| | | | | | reference the code in global envy_card structures. Allows the same mixer code to be shared across differents cards. Will ease adding codec-specific knobs when adding support for new cards.
* reorganize mixer bits to allow, supporting codec-dependent mixerratchov2009-05-031-7/+8
| | | | | | | controls later. Also stop using ``next'' and ``prev'' pointers, since they make impossible exposing ``source'' knobs for streams that do not have ``gain'' knobs. This implies renaming ``xxx.source'' knobs to ``xxx_source''. Besides that, no behaviour change.
* add basic support for Envy24HT chips and for ``ESI Juli@''ratchov2009-04-251-1/+2
| | | | | | cards using it. No mixer yet. ok jakemsr@
* start splitting the driver in two parts: one specific to theratchov2009-04-251-5/+16
| | | | | | | generic Envy24 chip common to all cards and another part specific to the cards. This will ease adding support for other card models. ok jakemsr@
* remove unused fields from envy_softc structure, no functional changeratchov2008-03-221-17/+1
|
* since now we have volume knobs, use next/prev pointers to attachratchov2008-02-211-6/+5
| | | | | | | outputs.lineN.source to them. Rename various labels to use "standard" names, ie AudioNxxx macros. ok jakemsr@
* implement AK4524 input and output volume knobs and output mute switches.ratchov2008-02-211-2/+5
| | | | | | | There are 8 gain knobs but only 4 mute switches because each codec has two channels but only one mute switch. ok jakemsr@
* id tags.fgsch2007-10-281-0/+1
|
* add new envy(4) driver for ICE1712 (aka VIA Envy24) audio devices. Theratchov2007-10-281-0/+88
device uses 32bit samples, up to 96kHz sample rate, 12 input channels and 10 output channels. Currently AK4524 codecs are supported, so M-Audio Delta cards should work. Playback and capture work, but the mixer is still incomplete. ok jakemsr@