Subject: Re: snapper microphone support
To: Magnus Henoch <mange@freemail.hu>
From: Michael <macallan18@earthlink.net>
List: port-macppc
Date: 12/20/2005 12:17:38
--Signature_Tue__20_Dec_2005_12_17_38_-0500_LOXBTDDr85+7odWz
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

[tas3004 data sheet]
> I have it; I found it at the URL in the source file.

doh ;)

>=20
> > I'm not at all sure snapper_write_mixer() does The Right Thing(tm)
> > in all cases ( most likely my fault - the regs[5] =3D ... line should
> > probably be regs[6] =3D ... )
>=20
> Yes, it seems it should.  And maybe it should have greater range;
> putting 0x10 00 00 in the register gives 0 dB, but the current code
> never reaches that value.
>=20
> I tried playing with that, using the mixer value as the entire first
> byte.  (That's probably too much; when setting it to 128 I just get
> feedback.)  With certain combinations of microphone and playback
> volumes I can hear my own voice quite well.

The function as it is was more or less a hack, it should probably use
the table from the datasheet so the mixer would respond to something
resembling db, more or less like the bass/treble controls ( yes, typing
them in will be a pain in the arse, I meant to do it at some point -
it's probably time now since the mixer controls actually became useful )

have fun
Michael

--Signature_Tue__20_Dec_2005_12_17_38_-0500_LOXBTDDr85+7odWz
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQ6g8s8pnzkX8Yg2nAQIf0Af/cBJKsXi0Mn5cXS5ayzf/IIlFnLwbhAn3
TuaYRiLSgF9JhAuJng40KnD9h+H4KUG6OgE+C6ptWTrmuaM8br4n7cqqXFvTbohB
YzQOvVGm49oFRqfbLAKAkOYvDtqn1BsmCCeyIolDMBw8T2PhoJ5dO9xBfuXMY1Ar
E/+nc5zkxZaWN2WyG6o+e2H0Bg5O+kbZlBwI3bxbA3LN7hP1uhfT6dGdt7SQDDP0
MluVV+Bp7TBciQyCfaz3uWSr9m3Vp6I8+wMd3TkIur8NzQxgTvjp6/Q1jp+nLYyN
xQVi65zndOuT6SFP2VVRSzd+id5QIuh55wK2QNLqTFof09UWDgkYgw==
=+5r4
-----END PGP SIGNATURE-----

--Signature_Tue__20_Dec_2005_12_17_38_-0500_LOXBTDDr85+7odWz--