Age | Commit message (Collapse) | Author |
|
|
|
Joerg Niendorf in pr 6053.
|
|
No functional changes.
ok krw@ miod@
|
|
from void * to u_int_8 * to avoid redundant and illegal lvalue
casts. No functional changes.
ok krw@
|
|
ok jakemsr@ krw@
|
|
fake 32-bit precision. Allowed by recent audio(4) changes.
|
|
handling.
ok ratchov; tested by naddy, thanks
|
|
Written by Pyun YongHyeon for FreeBSD, ported to DragonFlyBSD
by Sepherosa Ziehau and then ported to OpenBSD by me.
ok dlg@
|
|
|
|
|
|
conversions.
ok kettenis@
ok krw@ (possibly for the second time :)
|
|
for mixers and selectors when choosing the defaults for
outputs.master.slaves.
|
|
allow transmission/reception of 32-bit audio, so don't allow it.
pointed out by naddy@, thanks.
|
|
while back). I need this for libdrm updates.
While i'm here, remove a bunch of #ifdef NotUs stuff, and remove some
stupid doxygen comments.
|
|
- eliminate hardcoded return value of jme_init_rx_ring()
ok jsg@
|
|
|
|
nice mp3s.
From brad, ok jakemsr
|
|
|
|
ok matthieu@
|
|
|
|
|
|
channel of the speaker.
|
|
VRef level and be sure to turn VRef off when not set for input.
|
|
- don't set vref bits on mic pins unless the pin says it supports it
- fall back on 50% vref if 80% vref isn't supported
|
|
possibly matching a nonexistent hp or spkr dac.
|
|
|
|
tested by danh@, thanks!
|
|
is the end of a continuous list that started with the last entry.
while here, rewrite a bit so both long form and short form entries
are handled by the same code, and don't allocate more space than is
needed.
|
|
that don't have selectable inputs. all connections are active, always.
showing all connections in the set rather than just one makes a lot
more sense.
|
|
beep generators or mixers and selectors that are more than 2
connections away from a DAC.
|
|
instead they use the connection list setting like selectors do.
this is somewhat common in Analog Devices codecs. it's extremely
rare in all other codecs.
|
|
ok oga@
|
|
originally written by Juan Romero Pardines.
Thanks to Lars Kotthoff for testing on a HeroLogic HL-463 system.
Because the CS5535 doesn't provide SMM emulated PCI access to set
DMA/PIO modes or a real PCI IDE controller we have to resort to
making MSR calls. As this is very MD specific, hide most of uglyness
away in i386 MD pciide code.
ok grange@
|
|
a header file where MD code can get at them.
ok grange@
|
|
longer direcly affect other widgets
- if an unsolicited response is received from a volume knob widget,
adjust outputs.master according to the measured change in level of the
volume knob widget
|
|
Tested on Asus P5B-MX motherboard.
ok kettenis@, oga@
|
|
seem to work properly.
it is checked later in wpi_post_alive() anyway.
pointed out by many, further investigated by Tim van der Molen.
|
|
function for creating "master" volume control.
- apply gpio quirks separately from and prior to configuring the mixer.
gpio manipulation can cause noise on output channels. configuring
gpio before amps are unmuted in the mixer configuration is a good
thing.
from Alexey Suslikov, thanks
|
|
magic numbers
from Alexey Suslikov
|
|
* move quirk for Dell E6400 into the group of quirks that set GPIO 0
from Alexey Suslikov, thanks
|
|
are not really useful as output devices and fixed speakers are not
really useful as input devices
|
|
outputs by default it's nice to have a way to control multiple sources/
outputs with a single control setting.
so here's an implementation of "master" controls that uses selectable
control lists, because the biggest problem is figuring out what should
be "master".
outputs.master.slaves is the current set of output mixer controls
that settings for outputs.master and outputs.master will be applied
to. record.volume.slaves works similarly for recording inputs.
|
|
recording and playback paths.
- select a subset of controls that are relevant in a default
configuration for each path.
|
|
"master" volume controls coming shortly.
|
|
it and the associated macros. this is part of NetBSD's "converter
pipeline", and it isn't really used there either.
|
|
like the way it looks.
- run the speaker mute handler when a muter jack changes I/O direction
|
|
jacks which can mute speaker output are chosen with the new mixer item
'outputs.spkr_muters'. e.g.
$ mixerctl -v outputs.spkr_muters
outputs.spkr_muters=hp,mic,line-in { hp mic line-in }
if a jack is present in any listed "muter" plug, AND that plug is
configured for output (e.g. outputs.hp_dir=output) the speaker will
be muted. the list of muters is selectable, selecting none turns of
muting altogether.
|
|
- quit swapping channels 2:3 with 4:5 when processing 6 or more channels.
hacks deep in drivers to "fix" wrongly encoded files is just wrong.
- try to be sure headphones AND speakers get DAC output by default.
|
|
|
|
keep track of some information about them, such as the DAC they are
connected to by default. this will be used soon.
|