Date: Fri, 16 Mar 2007 16:15:24 +0100 From: Karol Kwiatkowski <karol.kwiat@gmail.com> To: freebsd-multimedia@freebsd.org Subject: Re: How to switch Audigy in analog mode (emu10kx from CURRENT)? Message-ID: <45FAB48C.5060604@gmail.com> In-Reply-To: <78664C02FF341B4FAC63E561846E3BCC079B4E@ex.hhp.local> References: <78664C02FF341B4FAC63E561846E3BCC079B4E@ex.hhp.local>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format. --------------020607030009060808090808 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit [ resending to list, it seems mailman doesn't like signed emails with attachments ] Yuriy Tsibizov wrote: >> One last question - is there an easy way to switch the digital output >> completely off? I don't mind patching the sources, just I don't know >> what to look for. > You can try to change line 2510 of emu10kx.c > (http://fxr.watson.org/fxr/source/dev/sound/pci/emu10kx.c#L2510) > to > > emumix_set_mode(sc, MODE_ANALOG); > > You should get silence on center/sub instead of digital 'noise'. That works as expected, excellent! Attached a patch against emu10kx.c form CURRENT: emu10kx.c,v 1.9 2007/02/23 19:41:16 ariff Exp $ for archives, in case someone else was interested in this workaround. Thank you for your support, Karol -- Karol Kwiatkowski <karol.kwiat at gmail dot com> OpenPGP 0x06E09309 --------------020607030009060808090808 Content-Type: text/plain; name="emu10kx.c.diff" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="emu10kx.c.diff" --- sys/dev/sound/pci/emu10kx.c.orig Fri Feb 23 20:41:16 2007 +++ sys/dev/sound/pci/emu10kx.c Fri Mar 16 15:38:04 2007 @@ -2507,7 +2507,7 @@ device_printf(sc->dev, "Audigy card initialized in analog mode.\n"); def_mode = MODE_ANALOG; } - emumix_set_mode(sc, def_mode); + emumix_set_mode(sc, MODE_ANALOG); if (bootverbose) { tmp = emu_rd(sc, HCFG, 4); --------------020607030009060808090808--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45FAB48C.5060604>