HEADS UP: Last call for snd_hda(4) testers - High Definition Audio driver

Ariff Abdullah ariff at FreeBSD.org
Fri Sep 29 12:51:35 PDT 2006


On Fri, 29 Sep 2006 14:09:57 -0400 (EDT)
Wesley Morgan <morganw at chemikals.org> wrote:
> I have a STAC9220 codec and I noticed that during boot it calls for
> soft  pcm volume. Does this only apply to the pcm knob? I know for a
> fact there  is an outamp on nid 11 that controls the master volume.
> I can't tell what  nids are assigned to which volume controls from
> the dmesg. Both pcm and  master volume "work", but not as I would
> expect. Going from 100 to 50 is  definitely not half volume on
> either control. I can't remember if the HDA  spec sets the gain by
> dB or not, which might make the response  logarithmic, but when I
> was toying with the other driver it seemed to give  more natural
> results.
> 
This is a bit unfortunate, since the driver tend to handle all kind of
hardwares and codecs generously without specific bias on certain
vendors. The good part about it is that it has "special" guarantee
that at least will ensure that all playback path are laid out
properly. Things like this (especially the parser) can be refactored
and improved in near future.

How about this one: replace your sys/dev/sound/pci/hda/hdac.c and
sys/dev/sound/pci/hda/hdac_private.h with:

http://people.freebsd.org/~ariff/test/hdac_stac9220_wesley.c (hdac.c)
http://people.freebsd.org/~ariff/test/hdac_private.h



--
Ariff Abdullah
FreeBSD

... Recording in stereo is obviously too advanced
    and confusing for us idiot ***** users :P ........
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-multimedia/attachments/20060929/f6be0c76/attachment.pgp


More information about the freebsd-multimedia mailing list