UDB mixer settings

Philip Blundell (pjb27@cam.ac.uk)
Sun, 9 Feb 1997 16:36:24 +0000 (GMT)


This small patch changes the default MSS mixer settings so that the line
input is not enabled at bootup. It stops the irritating hiss that you
otherwise get from the sound system on a UDB.

I think it would be good if it were included in the standard kernel.
People who want to use the line inputs can enable them by hand; I think
it's fair to assume that the majority of people don't use these inputs.

phil

--- linux/drivers/sound/ad1848_mixer.h.old Thu Dec 19 20:21:22 1996
+++ linux/drivers/sound/ad1848_mixer.h Thu Dec 19 20:21:23 1996
@@ -160,8 +160,8 @@
0x4b4b, /* Input gain */
0x4b4b, /* Output gain */
0x4040, /* Line1 */
- 0x4040, /* Line2 */
- 0x1515 /* Line3 (usually line in)*/
+ 0x0000, /* Line2 */
+ 0x0000 /* Line3 (usually line in)*/
};

#define LEFT_CHN 0