Age | Commit message (Collapse) | Author |
|
problem reported and fix tested by Ted Roby.
|
|
macbooks that have a "normal" pair of stereo speakers as well
as subwoofer(s). problem reported and fix tested by Ted Roby.
|
|
desilences E4300 for drahn@. ok drahn@
|
|
|
|
|
|
ok jakemsr@
|
|
|
|
own function
|
|
mixer get/set routines instead of in the MI audio routines.
|
|
|
|
DACs to use. for several months, there have been at most two
groups, the first being all usable analog DACs and the second being
all usable digital DACs. so 'inputs.usingdac' essentially was used
to switch between analog and digital modes. this was entirely
unclear to most users because the DACs were listed by their NIDs,
which means nothing unless you know how azalia(4) internals works.
rename 'inputs.usingdac' to 'outputs.mode', and replace the lists of
DAC NIDs with 'analog' and 'digital'. similarly for recording,
change 'record.usingadc' to 'record.mode', and replace the lists of
ADC NIDs with 'analog' and 'digital'.
|
|
first 30 do nothing. perhaps there are other codecs with such
amps? (ab)use some reserved bits in the amplifier capabilities
parameter to store the first volume step that actually changes the
volume. problem reported and patch tested by LEVAI Daniel.
|
|
reported and patch tested by Bryan Chapman. according to FreeBSD,
this might be needed for other MacBookPro models but no one else has
told me their MacBookPro doesn't work.
|
|
more non-generic versions, and there never will be again.
|
|
directly instead of through pointers in the codec_t.
- fold azalia_generic_{g,s}et_port into azalia_{g,s}et_port since both
are small and partly duplicated eachother.
|
|
choosing the default recording source and muting ADC input after
the device has been configured. the commit message that added
these doesn't give a reason why this is done, and it is
inconsistent with every other codec. if you really want these
settings, either set them in mixerctl.conf, or convince me why
this should be done for all codecs.
|
|
macros and codec->init_widget. now there is only only place to look
to see what special handling a specific codec will get.
|
|
volume when outputs.master is changed
|
|
ok jakemsr@
|
|
|
|
- don't unmute input from a built-in mic on the main input mixer
intended to stop possible feedback loops between buit-in speakers
and built-in mics. built-in mics also tend to capture machine
noise, especially fans. actual recording should not be affected.
|
|
datasheets.
|
|
default, as long is the first output pin is not also connected to
that DAC. cleanup a bit now that there are multiple muting methods.
|
|
to special case the speaker dac ...
|
|
to be listed in other widgets' connection lists. if a beep
generator is found in another widget's connection list, treat it
as a dead end.
|
|
|
|
by default might not be in a converter group. make sure such a
dac is not disabled and gets a meaningful name.
|
|
create the converter group lists. start with converters that are
connected to pins by default, then add converters that can be
connected to pins.
|
|
be a non-generic version. move the prototype to azalia.h so it
can also be used in azalia.c in the future.
|
|
dmesg spam produced by the mistakes noticed by stsp@, thanks
|
|
nice mp3s.
From brad, ok jakemsr
|
|
channel of the speaker.
|
|
VRef level and be sure to turn VRef off when not set for input.
|
|
tested by danh@, thanks!
|
|
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.
|
|
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.
|
|
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
|
|
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.
|
|
"master" volume controls coming shortly.
|
|
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.
|
|
|
|
mixers. problem noticed by Tas. thanks!
|
|
and use it in 6 places.
|
|
|
|
- beep and CD support for a few more realtek codecs (ALC268 verified by
Alexey Suslikov, the others are quite similar based on datasheets)
- "ALC662-GR" is a part number. "ALC662" is a codec identifier.
|