Subject: Re: speaker shutoff?
To: der Mouse <mouse@Rodents.Montreal.QC.CA>
From: Brian A. Seklecki <lavalamp@spiritual-machines.org>
List: port-sparc64
Date: 07/22/2002 15:17:04
On Mon, 22 Jul 2002 @ 6:35pm (+0200), der Mouse wrote:

dM> I'm using an Ultra 1 to play audio, with audioplay.
dM>
dM> It works, but the problem is, it plays it both to the back-panel jack
dM> and to the internal speaker(s?).  I want to shut off the latter, so the
dM> machine itself is quiet and the sound comes entirely from the external

Index: cs4231.c
===================================================================
RCS file: /cvsroot/syssrc/sys/dev/ic/cs4231.c,v
retrieving revision 1.7
diff -u -r1.7 cs4231.c
--- cs4231.c    2002/03/12 04:48:28     1.7
+++ cs4231.c    2002/06/05 17:52:16
@@ -179,7 +179,7 @@
        sc->sc_ad1848.mode = 2; /* put ad1848 driver in `MODE 2' mode */
	        ad1848_attach(&sc->sc_ad1848);

		-#if 0
		+#if 1
		        /*
			 *          * Before we give audiocs proper "outputs"
			 *          handling, always mute
			 *                   * internal speaker so that I can
			 *                   test this w/out waking up my
			 *                   family.